mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-16 20:00:59 -05:00
Compare commits
2 Commits
fd91cbc67c
...
9ef28da96a
Author | SHA1 | Date | |
---|---|---|---|
|
9ef28da96a | ||
|
89d85896fb |
@ -11,4 +11,4 @@ COPY .yarn/patches .yarn/patches
|
||||
COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./
|
||||
RUN yarn
|
||||
|
||||
CMD yarn node .
|
||||
CMD [ "yarn", "node", "." ]
|
||||
|
@ -1,7 +1,7 @@
|
||||
services:
|
||||
cache:
|
||||
container_name: daggerbot-redis
|
||||
image: redis/redis-stack-server:7.4.0-rc2
|
||||
image: redis/redis-stack-server:7.4.0-v0
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 6379:6379/tcp
|
||||
|
@ -191,7 +191,7 @@ export default class MP {
|
||||
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');
|
||||
}
|
||||
const suggestionPool = await (interaction.guild.channels.cache.get(client.config.dcServer.channels.mpmod_chat) as Discord.TextChannel).messages.fetch(MPChannels.modChat);
|
||||
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);
|
||||
interaction.reply({embeds: [suggestionPool.embeds[0]]});
|
||||
}, // Server management group
|
||||
create_server: async()=>{
|
||||
|
Loading…
Reference in New Issue
Block a user