removing useless import
This commit is contained in:
parent
384cb52fdc
commit
8491e843ab
6 changed files with 3 additions and 7 deletions
|
@ -1,4 +1,3 @@
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
def setup(client):
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
from random import randint
|
||||
|
||||
def setup(client):
|
||||
client.add_cog(Help(client))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import discord, praw, json, requests, datetime, time, feedparser
|
||||
import discord, praw, json, requests, time, feedparser
|
||||
from discord.ext import commands
|
||||
from random import randint, choice
|
||||
from tokens import token_reddit as token # à l'importation de l'extension, le fichier se retrouve dans le '/' et non dans 'cogs/', ignorez l'erreur pylint
|
||||
|
|
|
@ -18,7 +18,6 @@ from async_timeout import timeout
|
|||
from discord.ext import commands
|
||||
|
||||
# Genius API
|
||||
from random import randint
|
||||
import lyricsgenius
|
||||
import time
|
||||
from tokens import token_genius as token # à l'importation de l'extension, music.py se retrouve dans le '/' et non dans 'cogs/', ignorez l'erreur
|
||||
|
|
|
@ -4,7 +4,6 @@ from random import randint, shuffle
|
|||
from datetime import datetime
|
||||
from pytz import timezone
|
||||
import re
|
||||
import asyncio
|
||||
|
||||
def setup(client):
|
||||
client.add_cog(Utils(client))
|
||||
|
|
|
@ -2,8 +2,8 @@ print("Connexion à Discord...")
|
|||
|
||||
import discord, re, pytz
|
||||
from discord.ext import commands
|
||||
from random import randint, choice
|
||||
from datetime import datetime, timedelta
|
||||
from random import choice
|
||||
from datetime import datetime
|
||||
from pytz import timezone
|
||||
from tokens import token_discord as token
|
||||
|
||||
|
|
Reference in a new issue