mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 22:16:08 +00:00
feat: Role.delete()
This commit is contained in:
parent
9e0d157003
commit
a0775f0b31
@ -42,14 +42,9 @@ export class Role implements Model {
|
||||
return `#${this.color.toString(16).padStart(6, '0')}`;
|
||||
}
|
||||
|
||||
/*
|
||||
* delete() {
|
||||
* return.this.guild.deleteRole(this.id);
|
||||
* }
|
||||
* edit() {
|
||||
* return this.guild.editRole(this.id);
|
||||
* }
|
||||
* */
|
||||
async delete() {
|
||||
await this.guild.deleteRole(this.id);
|
||||
}
|
||||
|
||||
toString() {
|
||||
switch (this.id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user