3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-19 16:05:01 +00:00

Refactor SelfGrantableRoles to use config instead of command management, add max_roles option

This commit is contained in:
Dragory 2020-01-22 01:27:04 +02:00
parent a1704112b6
commit 15c6c4d939
3 changed files with 203 additions and 291 deletions

View file

@ -1,16 +0,0 @@
import { Entity, Column, PrimaryColumn } from "typeorm";
@Entity("self_grantable_roles")
export class SelfGrantableRole {
@Column()
@PrimaryColumn()
id: number;
@Column() guild_id: string;
@Column() channel_id: string;
@Column() role_id: string;
@Column("simple-array") aliases: string[];
}