dynamically load emotes from configs/emotes.json
parent
5d9b1765e6
commit
cbc06a508d
|
@ -1,5 +1,6 @@
|
||||||
import { Member, Message, Guild } from 'eris';
|
import { Member, Message, Guild } from 'eris';
|
||||||
import { Client, Command } from '.';
|
import { Client, Command } from '.';
|
||||||
|
import { statusMessages as emotes } from '../configs/emotes.json';
|
||||||
|
|
||||||
export default class Util {
|
export default class Util {
|
||||||
public client: Client;
|
public client: Client;
|
||||||
|
@ -10,9 +11,9 @@ export default class Util {
|
||||||
|
|
||||||
get emojis() {
|
get emojis() {
|
||||||
return {
|
return {
|
||||||
SUCCESS: '<:modSuccess:578750988907970567>',
|
SUCCESS: emotes.success,
|
||||||
LOADING: '<a:modloading:588607353935364106>',
|
LOADING: emotes.loading,
|
||||||
ERROR: '<:modError:578750737920688128>',
|
ERROR: emotes.error,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"whois": {
|
||||||
|
"titleAndDepartment": "<:loc:607695848612167700>",
|
||||||
|
"email": "<:email:699786452267040878>",
|
||||||
|
"gitlab": "<:gitlab:699788655748841492>",
|
||||||
|
"github": "<:github:699786469404835939>",
|
||||||
|
"bio": "<:bio:699786408193294416>"
|
||||||
|
},
|
||||||
|
"statusMessages": {
|
||||||
|
"success": "<:modSuccess:578750988907970567>",
|
||||||
|
"loading": "<a:modloading:588607353935364106>",
|
||||||
|
"error": "<:modError:578750737920688128>"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue