mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
[cmd] r34
This commit is contained in:
parent
35b16e22b1
commit
e97066e112
5 changed files with 98 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
const { COLORS } = require('../constants')
|
||||
const { link } = require('./markdown')
|
||||
|
||||
// TODO: make embed icons use the general STATICS system
|
||||
const embedTypes = Object.freeze({
|
||||
"default": (context) => {
|
||||
return {
|
||||
|
@ -27,6 +29,16 @@ const embedTypes = Object.freeze({
|
|||
},
|
||||
color: COLORS.error
|
||||
}
|
||||
},
|
||||
"nsfw": (context) => {
|
||||
return {
|
||||
author: {
|
||||
iconUrl: `https://derpystuff.gitlab.io/webstorage4/v2/assets/icons/ico_nsfw_small.png`,
|
||||
name: `This command is only available in Age Restricted channels.`,
|
||||
url: `https://support.discord.com/hc/en-us/articles/115000084051-Age-Restricted-Channels-and-Content`
|
||||
},
|
||||
color: COLORS.nsfw
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue