You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
583 B
TypeScript
28 lines
583 B
TypeScript
import {Config} from "./utils/Config";
|
|
|
|
export class GuildSettings {
|
|
|
|
/**
|
|
* Constructor with config that assigns some config specific stuff.
|
|
* @param config
|
|
*/
|
|
constructor(config: Config) {
|
|
this.prefix = config.prefix;
|
|
}
|
|
|
|
/**
|
|
* The prefix of the bot.
|
|
*/
|
|
public prefix: string = "~";
|
|
|
|
/**
|
|
* The role names that are associated with admin privileges.
|
|
*/
|
|
public adminRoles: string[] = ["admin"];
|
|
|
|
/**
|
|
* The role names that are associated with dj privileges.
|
|
*/
|
|
public djRoles: string[] = ["dj"];
|
|
}
|