mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
[cmd] guildicon
This commit is contained in:
parent
6173b085a3
commit
4eccafdbb6
1 changed files with 25 additions and 0 deletions
25
commands/message/info/guildicon.js
Normal file
25
commands/message/info/guildicon.js
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
const { format } = require('../../../labscore/utils/ansi')
|
||||||
|
const { codeblock, icon } = require('../../../labscore/utils/markdown')
|
||||||
|
const { createEmbed } = require('../../../labscore/utils/embed')
|
||||||
|
const { editOrReply } = require('../../../labscore/utils/message')
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
name: 'guildicon',
|
||||||
|
aliases: ["servericon","gi","si"],
|
||||||
|
metadata: {
|
||||||
|
description: 'server icon',
|
||||||
|
examples: ['gi'],
|
||||||
|
category: 'info',
|
||||||
|
usage: 'guildicon'
|
||||||
|
},
|
||||||
|
run: async (context) => {
|
||||||
|
context.triggerTyping();
|
||||||
|
editOrReply(context, {
|
||||||
|
embeds: [createEmbed("default", context, {
|
||||||
|
image: {
|
||||||
|
url: context.guild.iconUrl + "?size=4096"
|
||||||
|
}
|
||||||
|
})]
|
||||||
|
})
|
||||||
|
},
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue