@@ -93,7 +93,7 @@ async def timeout_add(self, ctx: commands.Context, user: discord.Member, reason:
93
93
await ctx .send ("Something went wrong!" )
94
94
raise Exception (error ) from error
95
95
else :
96
- await ctx .message . add_reaction ( "✅" )
96
+ await ctx .tick ( )
97
97
98
98
# Send report to channel
99
99
if await self .config .guild (ctx .guild ).report ():
@@ -119,7 +119,7 @@ async def timeout_remove(self, ctx: commands.Context, user: discord.Member, reas
119
119
await ctx .send ("Something went wrong!" )
120
120
raise Exception (error ) from error
121
121
else :
122
- await ctx .message . add_reaction ( "✅" )
122
+ await ctx .tick ( )
123
123
124
124
# Clear user's roles from config
125
125
await self .config .member (user ).clear ()
@@ -150,7 +150,7 @@ async def timeoutset_logchannel(self, ctx: commands.Context, channel: discord.Te
150
150
- `[p]timeoutset logchannel #mod-log`
151
151
"""
152
152
await self .config .guild (ctx .guild ).logchannel .set (channel .id )
153
- await ctx .message . add_reaction ( "✅" )
153
+ await ctx .tick ( )
154
154
155
155
@timeoutset .command (name = "report" , usage = "<enable|disable>" )
156
156
@checks .mod ()
@@ -173,7 +173,7 @@ async def timeoutset_report(self, ctx: commands.Context, choice: str):
173
173
if str .lower (choice ) == "enable" :
174
174
if log_channel :
175
175
await self .config .guild (ctx .guild ).report .set (True )
176
- await ctx .message . add_reaction ( "✅" )
176
+ await ctx .tick ( )
177
177
else :
178
178
await ctx .send (
179
179
"You must set the log channel before enabling reports.\n " +
@@ -182,7 +182,7 @@ async def timeoutset_report(self, ctx: commands.Context, choice: str):
182
182
183
183
elif str .lower (choice ) == "disable" :
184
184
await self .config .guild (ctx .guild ).report .set (False )
185
- await ctx .message . add_reaction ( "✅" )
185
+ await ctx .tick ( )
186
186
187
187
else :
188
188
await ctx .send ("Setting must be `enable` or `disable`." )
@@ -196,7 +196,7 @@ async def timeoutset_role(self, ctx: commands.Context, role: discord.Role):
196
196
- `[p]timeoutset role MyRole`
197
197
"""
198
198
await self .config .guild (ctx .guild ).timeoutrole .set (role .id )
199
- await ctx .message . add_reaction ( "✅" )
199
+ await ctx .tick ( )
200
200
201
201
@timeoutset .command (name = "list" )
202
202
@checks .mod ()
0 commit comments