Skip to content

Instantly share code, notes, and snippets.

View LikeLakers2's full-sized avatar
💭
https://www.youtube.com/watch?v=PLj8XbvN35E

MichiRecRoom LikeLakers2

💭
https://www.youtube.com/watch?v=PLj8XbvN35E
View GitHub Profile

Accept DMs and messages on any channel

# No code

Accept DMs and messages on a list of channels

return unless [1234, 5678].include? event.channel.id
@LikeLakers2
LikeLakers2 / structure.md
Last active October 9, 2018 23:07
Demo Structure

This file is being remade. If you want to see this file's contents as it is currently, hit the Raw button at the corner of this gist.

@LikeLakers2
LikeLakers2 / bitset.rs
Last active April 15, 2020 01:02
bitsetlike
// We can move `layer0`, `layer1`, `layer2`, `layer3` here, or just remove them entirely
// Remove `add()`, `remove()`, `clear()` (replaced with `set()`, `unset()`, `clear()` from BitSetLike)