mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-05 14:36:09 +00:00
feat: toString()
This commit is contained in:
parent
f364d55c59
commit
aa1aaf6682
@ -8,8 +8,12 @@ export abstract class Channel implements Model {
|
||||
this.name = data.name;
|
||||
this.type = data.type;
|
||||
}
|
||||
readonly id: Snowflake;
|
||||
readonly session: Session;
|
||||
readonly name: string | undefined;
|
||||
readonly type: ChannelTypes;
|
||||
id: Snowflake;
|
||||
session: Session;
|
||||
name?: string;
|
||||
type: ChannelTypes;
|
||||
|
||||
toString(): string {
|
||||
return `<#${this.id}>`;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user