Skip to content

Commit

Permalink
style(*): isort formatting
Browse files Browse the repository at this point in the history
snakeblanket committed Jul 31, 2022
1 parent 791e029 commit 75d5cda
Showing 6 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions cogs/listener.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import asyncio
import datetime
import logging
import asyncio

import discord
from discord.ext import commands

from utils.embed import Embed
from utils.database import UserDatabase
from utils.embed import Embed


class Listener(commands.Cog):
6 changes: 4 additions & 2 deletions cogs/marble/dice.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import random

import discord
from discord.ext import commands
import random
from utils.respond import send_response

from utils.json_util import loadjson, savejson
from utils.respond import send_response


class DiceCog(commands.Cog):
8 changes: 4 additions & 4 deletions cogs/marble/play.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import os
import asyncio
import datetime
import logging
import os
import shutil

import discord
from discord.commands import Option
from discord.ext import commands

from utils.embed import Embed
from utils.basic_util import is_text_channel, is_thread
from utils.database import UserDatabase
from utils.embed import Embed
from utils.game import marble_game
from utils.json_util import loadjson, savejson
from utils.respond import send_response
from utils.game import marble_game
from utils.basic_util import is_text_channel, is_thread


class marble_play(commands.Cog):
3 changes: 2 additions & 1 deletion cogs/user.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import datetime

import aiohttp
import discord
from discord.ext import commands

import config
from utils.embed import Embed
from utils.database import UserDatabase
from utils.embed import Embed


class ConfirmButton(discord.ui.View):
4 changes: 3 additions & 1 deletion utils/database.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import motor.motor_asyncio
import asyncio
import datetime

import motor.motor_asyncio

import config

client = motor.motor_asyncio.AsyncIOMotorClient(config.Setting.database.uri)[
3 changes: 2 additions & 1 deletion utils/game.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import discord
import datetime
import json
import logging

import discord

from utils.embed import Embed
from utils.json_util import loadjson, savejson
from utils.respond import send_response

0 comments on commit 75d5cda

Please sign in to comment.