mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
Merge branch 'yuzudev:main' into main
This commit is contained in:
commit
e188c4e3ad
9
mod.ts
9
mod.ts
@ -1,3 +1,12 @@
|
||||
export * from "./session/mod.ts";
|
||||
export * from "./util/mod.ts";
|
||||
export * from "./vendor/external.ts";
|
||||
export * from "./structures/User.ts";
|
||||
export * from "./structures/Role.ts";
|
||||
export * from "./structures/Base.ts";
|
||||
export * from "./structures/Guild.ts";
|
||||
export * from "./structures/Member.ts";
|
||||
export * from "./structures/Message.ts";
|
||||
export * from "./structures/BaseGuild.ts";
|
||||
export * from "./structures/Attachment.ts";
|
||||
export * from "./structures/AnonymousGuild.ts";
|
||||
|
@ -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