mirror of
https://github.com/turtlebasket/comrade-bot.git
synced 2026-03-04 11:34:29 -08:00
use tasks
This commit is contained in:
3
bot.py
3
bot.py
@@ -13,6 +13,7 @@ from urllib.request import urlopen, Request
|
||||
import random
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from discord.ext import tasks
|
||||
from os import environ
|
||||
import dbl
|
||||
from bot_utils import *
|
||||
@@ -283,4 +284,4 @@ async def ban(ctx, target_user:discord.User):
|
||||
|
||||
banning_users.remove(target_user)
|
||||
|
||||
bot.run(tokens["bot_token"])
|
||||
bot.run(tokens["bot_token"])
|
||||
|
||||
Reference in New Issue
Block a user