summaryrefslogtreecommitdiff
path: root/src/commands/server
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-24 19:29:25 -0700
committer8cy <[email protected]>2020-04-24 19:29:25 -0700
commit95477dd346b0f2dca1b6ced6946f5cc3cfda6697 (patch)
treebbb02c892bdc3893e8aa4ed66afc04ecc00437bb /src/commands/server
parentshift groups around, new mod cmds, v7.5.0 (diff)
downloaddep-core-95477dd346b0f2dca1b6ced6946f5cc3cfda6697.tar.xz
dep-core-95477dd346b0f2dca1b6ced6946f5cc3cfda6697.zip
big changes, too lazy to count, v7.6.0
mainly just fix darling
Diffstat (limited to 'src/commands/server')
-rw-r--r--src/commands/server/pfp.ts27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/commands/server/pfp.ts b/src/commands/server/pfp.ts
deleted file mode 100644
index 6d7ce73..0000000
--- a/src/commands/server/pfp.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
-
-module.exports = class PFPServer extends Command {
- constructor(client) {
- super(client, {
- name: 'pfp',
- aliases: ['profilepicture', 'profile-picture', 'profileimage', 'profile-image'],
- group: 'server',
- memberName: 'pfp',
- description: 'Grabs the profile picture of a given user.',
- args: [
- {
- key: 'userID',
- prompt: 'Which user\'s profile picture would you like to grab?',
- type: 'string'
- }
- ],
- examples: ['uwu!pfp @sin#1337']
- });
- }
- run(msg: CommandoMessage, { userID } ) {
- userID = msg.mentions.users.first()?.id;
- this.client.users.fetch(userID).then(user => {
- msg.reply({ files: [user.avatarURL()] })
- })
- }
-}; \ No newline at end of file