engineer-man / piston-bot

I Run Code bot on Discord
https://emkc.org/run
MIT License
239 stars 35 forks source link

Change prefix or use slash commands #69

Closed apteryxxyz closed 2 years ago

apteryxxyz commented 2 years ago

Right now the bot does not use slash commands and the prefix is /. The problem with this is if you have another bot that has a slash command named run, I Run Code becomes impossible to use, as the Discord app will assume you are trying to use the run slash command. Any attempt at sending a message starting with /run will just run the slash command.

brtwrst commented 2 years ago

I'm not sure how we can fix that. Changing the prefix will probably not happen.

I recommend you create a channel where people don't have the permission to use slash commands in and use the IRC bot there.

dev-null-undefined commented 2 years ago

Also, this seems to be a duplicate of #41 which has been solved in commit 9864d74 by adding the capability to use mention/ping as the prefix