fix channel

This commit is contained in:
Emily 2021-08-29 12:44:55 +02:00
parent 3df70bd117
commit 6a9cb75c89
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,8 @@
#!/usr/bin/ruby
TOKEN = "YOUR_TOKEN_HERE"
# Channel to bootstrap db form (and to display in status)
CHANNEL = 536907792859267083
# All channels to watch
CHANNELS = [ 536907792859267083, 560880728796168221 ]

View file

@ -9,7 +9,7 @@ bot = Discordrb::Bot.new token: TOKEN
$messages = Set.new
bot.ready do |event|
chan = bot.channel CHANNELS[0]
chan = bot.channel CHANNEL
bot.online
bot.watching = "Messages in #" + chan.name
end