mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
A Period
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ client.on('messageReactionAdd', (reaction, user) => {
|
|||||||
if (user.id === msg.author.id) {
|
if (user.id === msg.author.id) {
|
||||||
if (msg.channel.permissionsFor(client.user).has('MANAGE_MESSAGES'))
|
if (msg.channel.permissionsFor(client.user).has('MANAGE_MESSAGES'))
|
||||||
reaction.remove(user);
|
reaction.remove(user);
|
||||||
return msg.reply('You cannot star your own messages, idiot');
|
return msg.reply('You cannot star your own messages, idiot.');
|
||||||
}
|
}
|
||||||
client.registry.resolveCommand('random:star').run(msg, { id: msg.id }, true);
|
client.registry.resolveCommand('random:star').run(msg, { id: msg.id }, true);
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "20.1.0",
|
"version": "20.1.1",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "Shard.js",
|
"main": "Shard.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user