1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-26 15:45:38 -05:00

Add Redis to the eval prompt

This commit is contained in:
toast-ts 2024-08-18 11:56:36 +10:00
parent 9ef28da96a
commit 1126bbe1a8

View File

@ -1,6 +1,7 @@
import Discord from 'discord.js'; import Discord from 'discord.js';
import {exec} from 'node:child_process'; import {exec} from 'node:child_process';
import MessageTool from '../helpers/MessageTool.js'; import MessageTool from '../helpers/MessageTool.js';
import CacheServer from '../components/CacheServer.js';
import DatabaseServer from '../components/DatabaseServer.js'; import DatabaseServer from '../components/DatabaseServer.js';
import UsernameHelper from '../helpers/UsernameHelper.js'; import UsernameHelper from '../helpers/UsernameHelper.js';
import Formatters from '../helpers/Formatters.js'; import Formatters from '../helpers/Formatters.js';
@ -16,6 +17,7 @@ export default class Developer {
eval: async()=>{ eval: async()=>{
fs; fs;
cron; cron;
CacheServer;
DatabaseServer; DatabaseServer;
const code = interaction.options.getString('code') as string; const code = interaction.options.getString('code') as string;