mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-25 23:15:38 -05:00
Add Redis to the eval prompt
This commit is contained in:
parent
9ef28da96a
commit
1126bbe1a8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user