User Agent Command

This commit is contained in:
Dragon Fire
2021-04-18 20:52:20 -04:00
parent 84e653111d
commit 0d4f51a325
2 changed files with 18 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
const Command = require('../../structures/Command');
const UserAgent = require('user-agents');
module.exports = class UserAgentCommand extends Command {
constructor(client) {
super(client, {
name: 'user-agent',
group: 'random-res',
memberName: 'user-agent',
description: 'Responds with a random User Agent.'
});
}
run(msg) {
return msg.reply(new UserAgent().toString());
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "135.5.0",
"version": "135.6.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"private": true,