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
modify bot to respond #1339
Comments
input() is a built-in function that creates a prompt in console. If you want to make a greet function for Discord members, I recommend that you find a way to pull discord messages and set an if-then statement that way. Also, |
under on_message |
Doesnt that means when the bot join the server it will say hello by itself? |
No, it means every time you say hello in chat, the bot will respond |
what if i want to continue the chat example the bot responds how are you doing and the guy says fine and the bot replys do i make a new line for that respond and also what if other people said fine but to their friends and the bot repond |
and also the code doesnt work |
What issue do u have |
i place it under the on_message as you said but i tried saying hello in chat nothing happened |
Send me a screenshot of ur code |
Remove message_content = message.content.strip() |
Class started ill help u in 1 hr |
cool |
Whats the error? |
Tried nothing happen |
U should have an error |
So what now |
ok now the hello respond worked but i cant command the bot |
and i also put the message_content = message.content.strip() back its now fine(i can command again) but there is still one i need is how do i let the bot respond to the 2nd message example if that the bot says "how are you doing" and the person replies fine then the bot only reply that message fine and not other fine if other people says it |
Make another command that responds to fine |
so like that |
Some additional stuff do you know how to let the bot play live stream on youtube |
get the review version |
Where? |
@loobing The review branch should be here: https://github.com/Just-Some-Bots/MusicBot/tree/review |
thanks for all your help really appreciated |
i just kinda started coding help me out pls how am i suppose to make it respond if somebody else says hello
The text was updated successfully, but these errors were encountered: