Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
1ntegrale9 committed Dec 4, 2023
1 parent eb62494 commit 500584f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion daug/cogs/authorization.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import asyncio
from discord.ext import commands
from Daug.utils import excepter
from daug.utils.dpyexcept import excepter

class Utils(commands.Cog):
def __init__(self, bot, guild_id, role_always_id, role_permission_id, expiration_minutes = 300):
Expand Down
2 changes: 1 addition & 1 deletion daug/cogs/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import discord
from time import time
from discord.ext import commands
from Daug.utils import excepter
from daug.utils.dpyexcept import excepter

def compose_channel_tree(guild):
tree = []
Expand Down
5 changes: 3 additions & 2 deletions daug/cogs/favorite.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import discord
from discord.ext import commands
from Daug.utils import excepter
from Daug.utils.embeds import compose_embed_from_message
from daug.utils import compose_embed_from_message
from daug.utils.dpyexcept import excepter


class Favorite(commands.Cog):
"""お気に入り掲載"""
Expand Down
3 changes: 2 additions & 1 deletion daug/cogs/join.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from discord.ext import commands
from Daug.utils import excepter
from daug.utils.dpyexcept import excepter


class Join(commands.Cog):
"""メンバー入室時"""
Expand Down
3 changes: 2 additions & 1 deletion daug/cogs/leave.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from discord.ext import commands
from Daug.utils import excepter
from daug.utils.dpyexcept import excepter


class Leave(commands.Cog):
"""メンバー退出時"""
Expand Down
7 changes: 4 additions & 3 deletions daug/cogs/thread.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import discord
from discord.ext import commands
from Daug.utils import excepter
from Daug.utils.embeds import compose_embed_from_description
from Daug.utils.embeds import compose_embed_from_message
from daug.utils import compose_embed_from_description
from daug.utils import compose_embed_from_message
from daug.utils.dpyexcept import excepter


async def change_category(channel, category) -> None:
"""チャンネルのカテゴリを変更"""
Expand Down
4 changes: 2 additions & 2 deletions daug/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import re
import discord
from discord.ext import commands
from constants import COLOUR_EMBED_GRAY
from constants import EMOJI_NUMBERS
from daug.constants import COLOUR_EMBED_GRAY
from daug.constants import EMOJI_NUMBERS


def extract_mentions(guild: discord.Guild, text: str) -> list[discord.Member]:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='Daug',
version='2023.12.3.2',
version='2023.12.3.3',
author='Discord Bot Portal JP',
author_email='[email protected]',
description='discord.py を利用した Discord Bot 向け機能拡張ライブラリ',
Expand Down

0 comments on commit 500584f

Please sign in to comment.