better import

This commit is contained in:
Mylloon 2021-05-28 14:13:14 +02:00
parent 7caa860753
commit 610b4c4065
4 changed files with 18 additions and 5 deletions

View file

@ -1,4 +1,5 @@
import discord, re import discord
import re
from discord.ext import commands from discord.ext import commands
from random import randint, choice from random import randint, choice
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,9 @@
import discord, json, requests, time, feedparser, os import discord
import json
import requests
import time
import feedparser
import os
from discord.ext import commands from discord.ext import commands
from random import choice from random import choice
from asyncpraw import Reddit from asyncpraw import Reddit

View file

@ -1,9 +1,13 @@
import discord, pytz, time, os import discord
import pytz
import time
import os
import re
import asyncio
from discord.ext import commands from discord.ext import commands
from random import randint, shuffle from random import randint, shuffle
from datetime import datetime from datetime import datetime
from pytz import timezone from pytz import timezone
import re, asyncio
def setup(client): def setup(client):
client.add_cog(Utils(client)) client.add_cog(Utils(client))

View file

@ -1,6 +1,9 @@
print("Chargement des extensions & librairie...", end = " ") print("Chargement des extensions & librairie...", end = " ")
import discord, re, pytz, os import discord
import re
import pytz
import os
from discord.ext import commands from discord.ext import commands
from random import choice from random import choice
from datetime import datetime from datetime import datetime