Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Oct 13, 2023
1 parent c29a4bb commit e041943
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pique/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pique.config import PiqueConfig
from pique.constants import defaults
from pique.log import LOGGER
from pique.run import run_discord_bot
from pique.services import run_discord_bot


@click.command()
Expand Down
5 changes: 1 addition & 4 deletions pique/discord/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ def __init__(
intents.typing = True
intents.messages = True
LOGGER.info(f"Limited intents to {intents}")
self.bot = commands.Bot(
command_prefix=command_prefix,
intents=intents
)
self.bot = commands.Bot(command_prefix=command_prefix, intents=intents)
self.name = name
self.__token = token
self.scanner = event_scanner
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pique/subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from abc import ABC, abstractmethod
from asyncio import Queue
from typing import List
from typing import TypedDict, Optional
from typing import Optional

from discord import TextChannel

Expand Down

0 comments on commit e041943

Please sign in to comment.