mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Status Button Command
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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 <https://discord.c99.nl/> for more information._
|
||||
https://discord.c99.nl/widget/theme-1/${user.id}.png
|
||||
`);
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "112.0.2",
|
||||
"version": "112.1.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user