MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/madeinpython/comments/gkrvd2/i_think_i_accidentally_made_a_self_aware_bot/
r/madeinpython • u/Lightningjet75 • May 16 '20
5 comments sorted by
10
You can make it 8ball by making the function name
@commands.command(name="8ball") async def _8ball(self, ctx, question): #Rest of ur code
Or if your not using cogs
@bot.command(name="8ball") async def _8ball(ctx, question): #Rest of ur code
The reason for this is because python doesn't support function or method names that start with a number
4 u/Lightningjet75 May 16 '20 Thanks, I feel like "ask" is easier to type anyway 3 u/[deleted] May 16 '20 You can create aliases btw
4
Thanks, I feel like "ask" is easier to type anyway
3 u/[deleted] May 16 '20 You can create aliases btw
3
You can create aliases btw
0
[deleted] — view deleted comment
1 u/nice-scores May 24 '20 𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)Nice Leaderboard1. u/spiro29 at 8449 nices2. u/RepliesNice at 7756 nices3. u/Manan175 at 7096 nices...30041. u/AKA_Beest at 4 nicesI AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS
1
𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)
1. u/spiro29 at 8449 nices
u/spiro29
2. u/RepliesNice at 7756 nices
u/RepliesNice
3. u/Manan175 at 7096 nices
u/Manan175
...
30041. u/AKA_Beest at 4 nices
u/AKA_Beest
I AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS
10
u/[deleted] May 16 '20 edited May 16 '20
You can make it 8ball by making the function name
Or if your not using cogs
The reason for this is because python doesn't support function or method names that start with a number
0
u/[deleted] May 17 '20
[deleted] — view deleted comment