1
Fork 0
mirror of https://github.com/Steffo99/nortrom.git synced 2024-11-25 10:54:19 +00:00

🧹 Remove unused imports

This commit is contained in:
Steffo 2021-03-27 00:03:04 +01:00
parent ee8799c3cc
commit 792ac1b307
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -1,6 +1,5 @@
import typing as t import typing as t
import discord as d import discord as d
import discord.ext as de
import discord.ext.commands as dec import discord.ext.commands as dec
import discord_slash as ds import discord_slash as ds
import os import os
@ -8,7 +7,6 @@ import logging
logging.basicConfig(level="DEBUG") logging.basicConfig(level="DEBUG")
# TODO: restrict intents
bot = dec.Bot(command_prefix="!", intents=d.Intents(guilds=True, members=True, voice_states=True)) bot = dec.Bot(command_prefix="!", intents=d.Intents(guilds=True, members=True, voice_states=True))
sbot = ds.SlashCommand(client=bot, sync_commands=True) sbot = ds.SlashCommand(client=bot, sync_commands=True)