1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 04:10:59 -05:00

Compare commits

..

No commits in common. "9ef28da96a706bf79bcabf7ace8974d0815b2d08" and "fd91cbc67cef28832cf6535cd231aad1e272392c" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View File

@ -11,4 +11,4 @@ COPY .yarn/patches .yarn/patches
COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./ COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./
RUN yarn RUN yarn
CMD [ "yarn", "node", "." ] CMD yarn node .

View File

@ -1,7 +1,7 @@
services: services:
cache: cache:
container_name: daggerbot-redis container_name: daggerbot-redis
image: redis/redis-stack-server:7.4.0-v0 image: redis/redis-stack-server:7.4.0-rc2
restart: unless-stopped restart: unless-stopped
ports: ports:
- 6379:6379/tcp - 6379:6379/tcp

View File

@ -191,7 +191,7 @@ export default class MP {
if (client.config.dcServer.id === interaction.guildId) { if (client.config.dcServer.id === interaction.guildId) {
if (!interaction.member.roles.cache.has(client.config.dcServer.roles.mpmod) && !client.config.whitelist.includes(interaction.member.id)) return MessageTool.youNeedRole(interaction, 'mpmod'); if (!interaction.member.roles.cache.has(client.config.dcServer.roles.mpmod) && !client.config.whitelist.includes(interaction.member.id)) return MessageTool.youNeedRole(interaction, 'mpmod');
} }
const suggestionPool = await (client.guilds.cache.get(client.config.dcServer.id).channels.cache.get(client.config.dcServer.channels.mpmod_chat) as Discord.TextChannel).messages.fetch(MPChannels.modChat); const suggestionPool = await (interaction.guild.channels.cache.get(client.config.dcServer.channels.mpmod_chat) as Discord.TextChannel).messages.fetch(MPChannels.modChat);
interaction.reply({embeds: [suggestionPool.embeds[0]]}); interaction.reply({embeds: [suggestionPool.embeds[0]]});
}, // Server management group }, // Server management group
create_server: async()=>{ create_server: async()=>{