disabled slash commands for overyone else
This commit is contained in:
@@ -226,6 +226,10 @@ client.on(Events.MessageReactionAdd, async (reaction, user, channel) => {
|
||||
client.on('interactionCreate', async (interaction) => {
|
||||
if (!interaction.isChatInputCommand()) return;
|
||||
|
||||
if (interaction.user.id !== 277357956075356162 || interaction.user.id !== 241530175353782273) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (interaction.commandName === "siskelshandlanger" || interaction.commandName === "trafalgar") {
|
||||
var botname, avatarurl;
|
||||
if (interaction.commandName === "siskelshandlanger") {
|
||||
@@ -396,7 +400,7 @@ client.on(Discord.Events.MessageCreate, async (message) => {
|
||||
inline: false
|
||||
},
|
||||
{
|
||||
name: "TikTok [AniManga & Book Conten]",
|
||||
name: "TikTok [AniManga & Book Content]",
|
||||
value: "» https://www.tiktok.com/@panda.d..akii",
|
||||
inline: false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user