diff --git a/README.md b/README.md index aad483f3..3043c062 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ don't grant that permission. ## Commands -Total: 362 +Total: 363 ### Utility: @@ -407,6 +407,7 @@ Total: 362 * **look-what-karen-have:** Draws a user's avatar over Karen's piece of paper. * **rip:** Draws a user's avatar over a gravestone. * **sip:** Draws a user's avatar sipping tea. +* **status-button:** Creates a Discord status button from c99.nl. * **steam-card:** Draws a user's avatar on a Steam Trading Card. * **steam-now-playing-classic:** Draws a user's avatar over a Steam "now playing" notification (old skin). * **steam-now-playing:** Draws a user's avatar over a Steam "now playing" notification. @@ -629,6 +630,8 @@ here. * hat ([Dunce Hat Image](https://www.deviantart.com/xertris/art/Dunce-Cap-634349483)) - [devsnek](https://github.com/devsnek) * owo (Code) +- [Discord Status Button](https://discord.c99.nl/) + * status-button (API) - [Disney](https://www.disney.com/) * he-lives-in-you ([Image, Original "The Lion King" Movie](https://movies.disney.com/the-lion-king)) * beautiful ([Original "Gravity Falls" Show](https://disneynow.com/shows/gravity-falls)) diff --git a/commands/avatar-edit/status-button.js b/commands/avatar-edit/status-button.js new file mode 100644 index 00000000..ebacc100 --- /dev/null +++ b/commands/avatar-edit/status-button.js @@ -0,0 +1,37 @@ +const Command = require('../../structures/Command'); +const { stripIndents } = require('common-tags'); + +module.exports = class StatusButtonCommand extends Command { + constructor(client) { + super(client, { + name: 'status-button', + aliases: ['c99-nl'], + group: 'avatar-edit', + memberName: 'status-button', + description: 'Creates a Discord status button from c99.nl.', + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Discord Status Button', + url: 'https://discord.c99.nl/', + reason: 'API' + } + ], + args: [ + { + key: 'user', + prompt: 'Which user would you like to get the status button of?', + type: 'user', + default: msg => msg.author + } + ] + }); + } + + run(msg, { user }) { + return msg.say(stripIndents` + _Getting "User not found"? Visit for more information._ + https://discord.c99.nl/widget/theme-1/${user.id}.png + `); + } +}; diff --git a/package.json b/package.json index deefa967..400fba42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "112.0.2", + "version": "112.1.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {