We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4779e92 commit bbbf89cCopy full SHA for bbbf89c
src/evt/messageCreate.ts
@@ -93,6 +93,7 @@ export default async (evt: any, ctx: Context) => {
93
messageId: evt.id,
94
},
95
});
96
+ await ctx.rest.deleteMessage(evt.channel_id, evt.id);
97
return;
98
}
99
@@ -117,6 +118,7 @@ export default async (evt: any, ctx: Context) => {
117
118
119
120
121
122
123
124
@@ -131,6 +133,7 @@ export default async (evt: any, ctx: Context) => {
131
133
132
134
})
135
136
137
138
139
if (content == ".lockchat" && evt.member.roles.includes(config.staff_role_id)) {
0 commit comments