Archived
text pings handling
This commit is contained in:
1 parent
1472b19772
commit
5e0f4eb7a5
1 file changed
+1
-1
+1
-1
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user