Last active
December 11, 2017 10:07
-
-
Save jayktaylor/8cf64f91fec73ba0bd127a08f6578988 to your computer and use it in GitHub Desktop.
MusicBot - Ping command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async def cmd_ping(self): | |
""" | |
Usage: | |
{command_prefix}ping | |
Ping command to test latency | |
""" | |
return Response("Pong!") |
I'm confused, I put the code in, but whenever I attempt to run the bot, there's always text showing the beginning of the code and says: "TabError: Inconsistent use of tabs and spaces in indentation" And I have no idea what that means,
any help is greatly appreciated!
edit: I got it to work!
kutet how?
@TitanCruze use spaces instead of tabs when you put the code in
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, can i get it to say the ping that the bot has to the server? Any help would be appreciated!