diff --git a/README.md b/README.md index 2f8c44f1c..4f4f47a23 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,7 @@ You can directly post an issue in this repo, be sure to use the template! The bot comes as a [poetry](https://python-poetry.org/) Python package and can run using Docker. -You must first setup a Discord bot with the following intents enabled: - -- Server members intent -- Message content intent (will be removed at a later date) +You must first setup a Discord bot. **No privileged intents are required!** ### With Docker (recommended) diff --git a/ballsdex/__init__.py b/ballsdex/__init__.py index eee00e3d2..c7f183a6d 100755 --- a/ballsdex/__init__.py +++ b/ballsdex/__init__.py @@ -1 +1 @@ -__version__ = "1.1.0" +__version__ = "1.1.1" diff --git a/ballsdex/core/bot.py b/ballsdex/core/bot.py index 0e2846f6f..816098ac6 100755 --- a/ballsdex/core/bot.py +++ b/ballsdex/core/bot.py @@ -31,7 +31,13 @@ class BallsDexBot(commands.Bot): """ def __init__(self, command_prefix: str, dev: bool = False, **options): - intents = discord.Intents(guilds=True, guild_messages=True, message_content=True) + # An explaination for the used intents + # guilds: needed for basically anything, the bot needs to know what guilds it has + # and accordingly enable automatic spawning in the enabled ones + # guild_messages: spawning is based on messages sent, content is not necessary + # emojis_and_stickers: DB holds emoji IDs for the balls which are fetched from 3 servers + intents = discord.Intents(guilds=True, guild_messages=True, emojis_and_stickers=True) + super().__init__(command_prefix, intents=intents, tree_cls=CommandTree, **options) self._shutdown = 0 self.dev = dev