mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-09 18:39:35 +02:00
console.log some things
This commit is contained in:
@@ -81,6 +81,7 @@ client.on('message', async (msg) => {
|
||||
client.on('messageReactionAdd', (reaction, user) => {
|
||||
if (reaction.emoji.name !== '⭐') return;
|
||||
if (reaction.count > 1) return;
|
||||
console.log(reaction.count, reaction);
|
||||
const msg = reaction.message;
|
||||
const channel = msg.guild.channels.get(msg.guild.settings.get('starboard'));
|
||||
if (!channel) return;
|
||||
|
||||
Reference in New Issue
Block a user