Open Tr0j4n9 opened 6 years ago
do you have this section in your config file?
"moderation":{
"pm2Name": "TipBot",
// Roles that have access to all commands.
"perms": ["Admin","Moderator","Community Leader","Bots"],
// Bot Devs!
"botDev": "Bot Developer",
// Channel to log the bots moderation..
"logchannel": "429853685179351050",
//channel that the tip message will reply in if Multi or Role tip is used.
"botspamchannels": ["429134627823812612", "429852470886268929"]
}
Yes, I do
if you did it wouldnt be telling you you didn't though
that could also be the problem will merge #9 today
I get this same error, the problem exists because there is no channel with that ID... if you put a correct ID channel the bot will go smooth...
I am thinking in a way to allow this as a feature triggeable from the config itself... whether we want or not the log file in a channel or a file...
originally that should have been tied into debug config option, but i think as things progressed with the last group of devs working on this from the original coin i helped buld this for they didnt use it properly after they switched most stuff to switch cases
Whats is the log channel and botspamchannels? Are we suppose to change this? Where do these numbers come from?
bot spam channel is the default channel where people can use the commands like deposit, log channel is used for bot logging basically everything printed to console also goes to that channel so you don't have to monitor it from the bots end, to get the channels ID you have to turn on developer mode in settings of discord and either right click and select copy channel id or you can type \#Channel-Name
and discord will instead print out its id like in the example below
Sent from my Galaxy Note5 using FastHub
Hello, I am getting this error while running with pm2, yarn and
node bot/bot.js