text pings handling

This commit is contained in:
mmacierzanka committed 2021-08-08 16:36:06 +02:00
1 parent 1472b19772
commit 5e0f4eb7a5
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@ export class ObjectParameter extends InputParameter {
export class ObjectID { export class ObjectID {
id: string; id: string;
constructor(id: string) { constructor(id: string) {
this.id = id; this.id = id.replace(">", "").replace("<@!", "").replace("<#!", "");
} }
async toObject( async toObject(
guild: Guild, guild: Guild,