3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-11 04:57:19 +00:00
This commit is contained in:
Almeida 2021-10-26 23:54:20 +01:00 committed by GitHub
parent a9351d07cd
commit d8933422c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ export const RunAutomodOnThreadCreate = typedGuildEventListener<AutomodPluginTyp
const user = thread.ownerId const user = thread.ownerId
? await pluginData.client.users.fetch(thread.ownerId).catch(() => undefined) ? await pluginData.client.users.fetch(thread.ownerId).catch(() => undefined)
: undefined; : undefined;
const context: AutomodContext = { const context: AutomodContext = {
timestamp: Date.now(), timestamp: Date.now(),
threadChange: { threadChange: {