Skip to content

Commit

Permalink
Add members intents to test.py
Browse files Browse the repository at this point in the history
Fix super call in reaction.py
  • Loading branch information
cysabi committed Jun 30, 2021
1 parent 1cdfbbb commit 9576276
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blurple/io/reaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ReactionAddReply(ReactionAddBasic):

async def on_reply_init(self, message: discord.Message):
"""Specialized to add vaild reaction emojis to message, if validation is on."""
super().on_reply_init(message)
await super().on_reply_init(message)
if self._iscontainer(self.validate):
for react in self.validate:
await self.message.add_reaction(react)
Expand Down
5 changes: 3 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

from blurple import ui, io, ext


bot = commands.Bot(command_prefix='!')
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix="!", intents=intents)
bot.help_command = ext.HelpCommand()
router = ext.Router(bot)

Expand Down

0 comments on commit 9576276

Please sign in to comment.