[cmd] r34

This commit is contained in:
derpystuff 2022-05-26 15:53:54 +02:00
parent 35b16e22b1
commit e97066e112
5 changed files with 98 additions and 1 deletions

View file

@ -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
}
}
})