feat(bots/discord): add trigger to context for eval

This commit is contained in:
PalmDevs
2024-09-25 13:00:53 +07:00
parent f6d2e25130
commit b5f4097538

View File

@@ -46,6 +46,7 @@ export default new AdminCommand({
createContext({ createContext({
...globalThis, ...globalThis,
context, context,
trigger,
}), }),
{ {
timeout: parseDuration(timeout ?? '10s'), timeout: parseDuration(timeout ?? '10s'),