nvm im just that retarded
This commit is contained in:
parent
07026c7bc4
commit
62022af683
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,6 @@ client.on(Events.ClientReady, async () => {
|
||||||
|
|
||||||
client.on(Events.MessageCreate, async (message) => {
|
client.on(Events.MessageCreate, async (message) => {
|
||||||
if (message.author.bot) return;
|
if (message.author.bot) return;
|
||||||
if (!message.reference) return;
|
|
||||||
if (message.content.startsWith("!strikecmd")){
|
if (message.content.startsWith("!strikecmd")){
|
||||||
const thing = message.content.split(" ")
|
const thing = message.content.split(" ")
|
||||||
if (thing.length == 1){
|
if (thing.length == 1){
|
||||||
|
@ -114,6 +113,7 @@ client.on(Events.MessageCreate, async (message) => {
|
||||||
await (await client.channels.fetch(config.publiclog) as DMChannel).send("user " + memberId.user.globalName + "got a new strike by " + message.author.globalName);
|
await (await client.channels.fetch(config.publiclog) as DMChannel).send("user " + memberId.user.globalName + "got a new strike by " + message.author.globalName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!message.reference) return;
|
||||||
if (message.content !== "!strike") return;
|
if (message.content !== "!strike") return;
|
||||||
await strike(message)
|
await strike(message)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue