mirror of
https://github.com/Expand-sys/ccashbot
synced 2025-12-16 23:52:14 +11:00
fix for whitelist v2
This commit is contained in:
parent
3578bc9944
commit
668cf9b78d
1 changed files with 2 additions and 1 deletions
|
|
@ -24,9 +24,10 @@ module.exports = {
|
|||
|
||||
await rcon.connect();
|
||||
let content = message.content.split("!whitelist ")[1];
|
||||
console.log(content);
|
||||
let res = await rcon.send(`whitelist add ${content}`);
|
||||
|
||||
message.reply(`whitelisted `);
|
||||
message.reply(`whitelisted ${content}`);
|
||||
rcon.end();
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue