update send_tip() coroutine
@@ -62,16 +62,16 @@ async def update_support_member_role(_bot, member):
pass
-async def send_tip(_bot, ctx):
- await asyncio.sleep(1)
- await ctx.send(f"{random.choice(ctx.l.misc.tip_intros)} {random.choice(ctx.l.misc.tips)}")
-
-
def update_fishing_prices(_bot):
for fish in _bot.d.fishing.fish.values():
fish.current = random.randint(*fish.value)
+async def send_tip(ctx):
+ await asyncio.sleep(1)
+ await ctx.send(f"{random.choice(ctx.l.misc.tip_intros)} {random.choice(ctx.l.misc.tips)}")
+
+
if __name__ == "__main__":
# use uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
