mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Get Some Logging Strays
This commit is contained in:
@@ -21,7 +21,6 @@ module.exports = class QuizCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!');
|
||||
}
|
||||
console.log('[Command] ' + message.content);
|
||||
try {
|
||||
const response = await request
|
||||
.get('http://jservice.io/api/random')
|
||||
|
||||
@@ -21,7 +21,6 @@ module.exports = class TodayCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!');
|
||||
}
|
||||
console.log('[Command] ' + message.content);
|
||||
try {
|
||||
const response = await request
|
||||
.get('http://history.muffinlabs.com/date')
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "21.1.0",
|
||||
"version": "21.1.1",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user