Skip to content

Commit

Permalink
Update example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
itsflorent authored Feb 17, 2022
1 parent 2cf69ab commit 158c013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ async def on_ready():

print(f"Online as {bot.user.name}")

r = dbleu_getbotvotes(dbleuKEY, log_disable=False/True)
r = dbleu_getbotvotes(dbleuKEY, log_disable=False)
print(r.content)

r = dbleu_getbotdata(dbleuKEY, log_disable=False/True)
r = dbleu_getbotdata(dbleuKEY, log_disable=False)
print(r.content)


@tasks.loop(minutes=5)
async def auto_post():
dbleu_postservercount(dbleuKEY, bot, log_disable=False/True)
dbleu_postservercount(dbleuKEY, bot, log_disable=False)
# IMPORTANT: The second parameter must be the discord.ext.commands.bot.Bot object


Expand Down

0 comments on commit 158c013

Please sign in to comment.