mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
forgor to revert channel id
This commit is contained in:
parent
b5d6aa0543
commit
0e69565301
@ -27,9 +27,9 @@ async function MPdata(client:TClient, interaction:Discord.ChatInputCommandIntera
|
|||||||
return FSserver
|
return FSserver
|
||||||
}
|
}
|
||||||
|
|
||||||
export default { //468835769092669461
|
export default {
|
||||||
async run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){
|
async run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){
|
||||||
if (interaction.channelId == '904192878140608563' && !client.isStaff(interaction.member) && ['status', 'players'].includes(interaction.options.getSubcommand())) {
|
if (interaction.channelId == '468835769092669461' && !client.isStaff(interaction.member) && ['status', 'players'].includes(interaction.options.getSubcommand())) {
|
||||||
interaction.reply(`Please use <#739084625862852715> for \`/mp status/players\` commands to prevent clutter in this channel.`).then((msg)=>{
|
interaction.reply(`Please use <#739084625862852715> for \`/mp status/players\` commands to prevent clutter in this channel.`).then((msg)=>{
|
||||||
setTimeout(()=>{interaction.deleteReply()}, 5000)
|
setTimeout(()=>{interaction.deleteReply()}, 5000)
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user