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')}`;
|
return `#${this.color.toString(16).padStart(6, '0')}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
async delete() {
|
||||||
* delete() {
|
await this.guild.deleteRole(this.id);
|
||||||
* return.this.guild.deleteRole(this.id);
|
}
|
||||||
* }
|
|
||||||
* edit() {
|
|
||||||
* return this.guild.editRole(this.id);
|
|
||||||
* }
|
|
||||||
* */
|
|
||||||
|
|
||||||
toString() {
|
toString() {
|
||||||
switch (this.id) {
|
switch (this.id) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user