Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work #5

Closed
Aluwuga opened this issue Oct 9, 2021 · 3 comments · Fixed by #6
Closed

Doesnt work #5

Aluwuga opened this issue Oct 9, 2021 · 3 comments · Fixed by #6
Labels
bug Something isn't working question Further information is requested

Comments

@Aluwuga
Copy link

Aluwuga commented Oct 9, 2021

first i used /clear some other word 100 it said deleted 0 messages, then i kicked it and invited it again. Now i type /clear there are no such commands pls help
1

@nsde
Copy link
Contributor

nsde commented Oct 9, 2021

Hey, @Aluwuga
make sure:

  • The bot invite URL has &scope=applications.commands at the end. This is very important because it tells Discord that slash commands are being used.
  • You and the bot have enough permissions, you need the Use Slash Commands permission in the channel you want to write the message to for launching a command! Of course, the bot needs to have the permission to view and send messages in your channel.
  • Try the legacy, deprecated, classic command style; just like cc clear, cc help and so on. This is a temporary solution, but let me know if this worked.

Hope I could help
:)

@nsde
Copy link
Contributor

nsde commented Oct 9, 2021

Also, here's the wiki I wrote which is meant to help:
https://github.com/JH220/discord-clearchatbot/wiki/Tutorial:-How-to-fix-technical-bot-problems

@nsde nsde added bug Something isn't working question Further information is requested labels Oct 9, 2021
@nsde nsde linked a pull request Oct 9, 2021 that will close this issue
@nsde
Copy link
Contributor

nsde commented Oct 9, 2021

The instant invite link could make sure that the invite link does have slash command permissions.

@JH220 JH220 closed this as completed in #6 Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants