mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-18 08:43:57 +00:00
feat(bots/discord): add trigger to context for eval
This commit is contained in:
@@ -46,6 +46,7 @@ export default new AdminCommand({
|
|||||||
createContext({
|
createContext({
|
||||||
...globalThis,
|
...globalThis,
|
||||||
context,
|
context,
|
||||||
|
trigger,
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
timeout: parseDuration(timeout ?? '10s'),
|
timeout: parseDuration(timeout ?? '10s'),
|
||||||
|
|||||||
Reference in New Issue
Block a user