Feature/48 database #114
6 changed files with 4 additions and 11 deletions
|
@ -12,9 +12,6 @@ role.muted: The muted role name (Default: "Muted")
|
|||
|
||||
rules.file: The location of the rules file (Default: "data/rules/rules")
|
||||
|
||||
embed.colour.info: The HEX value of the info embeds (Default: "0x3050ba")
|
||||
embed.colour.error: The HEX value of the error embeds (Default: "0xd52803")
|
||||
|
||||
channels.logs.message: The channel message events will be logged to (Default: "message-logs")
|
||||
channels.logs.member: The channel member events will be logged to (Default: "member-logs")
|
||||
channels.logs.mod: The channel mod events will be logged to (Default: "mod-logs")
|
||||
|
|
|
@ -36,10 +36,6 @@ export default class DefaultValues {
|
|||
// Rules (Command)
|
||||
this.values.push({ Key: "rules.file", Value: "data/rules/rules" });
|
||||
|
||||
// Embed
|
||||
this.values.push({ Key: "embed.colour.info", Value: "0x3050ba" });
|
||||
this.values.push({ Key: "embed.colour.error", Value: "0xd52803" });
|
||||
|
||||
// Channels
|
||||
this.values.push({ Key: "channels.logs.message", Value: "message-logs" });
|
||||
this.values.push({ Key: "channels.logs.member", Value: "member-logs" });
|
||||
|
|
|
@ -7,7 +7,7 @@ export default class ErrorEmbed extends MessageEmbed {
|
|||
constructor(context: ICommandContext, message: String) {
|
||||
super();
|
||||
|
||||
super.setColor(process.env.EMBED_COLOUR_ERROR!);
|
||||
super.setColor(0xd52803);
|
||||
super.setDescription(message);
|
||||
|
||||
this.context = context;
|
||||
|
|
|
@ -8,7 +8,7 @@ export default class EventEmbed extends MessageEmbed {
|
|||
constructor(guild: Guild, title: string) {
|
||||
super();
|
||||
|
||||
super.setColor(process.env.EMBED_COLOUR!);
|
||||
super.setColor(0x3050ba);
|
||||
super.setTitle(title);
|
||||
|
||||
this.guild = guild;
|
||||
|
|
|
@ -10,7 +10,7 @@ export default class LogEmbed extends MessageEmbed {
|
|||
constructor(context: ICommandContext, title: string) {
|
||||
super();
|
||||
|
||||
super.setColor(process.env.EMBED_COLOUR!);
|
||||
super.setColor(0x3050ba);
|
||||
super.setTitle(title);
|
||||
|
||||
this.context = context;
|
||||
|
|
|
@ -7,7 +7,7 @@ export default class PublicEmbed extends MessageEmbed {
|
|||
constructor(context: ICommandContext, title: string, description: string) {
|
||||
super();
|
||||
|
||||
super.setColor(process.env.EMBED_COLOUR!);
|
||||
super.setColor(0x3050ba);
|
||||
super.setTitle(title);
|
||||
super.setDescription(description);
|
||||
|
||||
|
|
Loading…
Reference in a new issue