mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Try and fix author bug?
This commit is contained in:
@@ -112,7 +112,7 @@ client.on('message', msg => {
|
||||
msg.channel.sendMessage('```' + msg.content + '```');
|
||||
}
|
||||
|
||||
if (msg.content.startsWith('?eval') && msg.author.id === '66564597481480192') {
|
||||
if (msg.content.startsWith('#eval') && msg.author.id === '66564597481480192') {
|
||||
try {
|
||||
const com = eval(msg.content.split(" ").slice(1).join(" "));
|
||||
msg.channel.sendMessage('```\n' + com + '```');
|
||||
|
||||
Reference in New Issue
Block a user