Fix token being in open sight.

master
Astoria Floyd 3 years ago
parent e9186caf31
commit 0b674627be

1
.gitignore vendored

@ -0,0 +1 @@
token.txt

@ -2,11 +2,9 @@
require 'discordrb'
require 'tmpdir'
#require 'toml'
#$config = TOML.load_file("./config.toml")
bot = Discordrb::Bot.new token: 'ODc0MDMzNjc4Mjc4MzQ0NzY0.YRBFSw.N_rTx8xQL7cn5E9tSj2IlieTNlk'
token = File.read("token.txt")
bot = Discordrb::Bot.new token: "#{token}"
bang = '!'
def loadCommands(bot, bang)

Loading…
Cancel
Save