You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitctx.send(f':warning: This command is currently on cooldown, try after **{str(datetime.timedelta(seconds=int(round(error.retry_after))))}**', delete_after=5)
163
143
ifos.name=='nt':
164
144
withopen(errorHandler_path, 'a') asf:
165
145
f.write(f'[{current_time}/WARN] Ignoring exception at CommandOnCooldown. Details: This command is currently on cooldown.\n')
166
146
f.close()
167
147
print(f'{colors.red}[{current_time}/WARN] Ignoring exception at CommandOnCooldown. Details: This command is currently on cooldown.{colors.end}')
awaitctx.send(':x: Your command has missing required argument(s).', delete_after=3)
172
151
ifos.name=='nt':
173
152
withopen(errorHandler_path, 'a') asf:
174
153
f.write(f'[{current_time}/WARN] Ignoring exception at MissingRequiredArgument. Details: The command can\'t be executed because required arguments are missing.\n')
175
154
f.close()
176
155
print(f'{colors.red}[{current_time}/WARN] Ignoring exception at MissingRequiredArgument. Details: The command can\'t be executed because required arguments are missing.{colors.end}')
awaitctx.send(':x: You don\'t have permissions to use this command.', delete_after=3)
181
159
ifos.name=='nt':
182
160
withopen(errorHandler_path, 'a') asf:
183
161
f.write(f'[{current_time}/WARN] Ignoring exception at MissingPermissions. Details: The user doesn\'t have the required permissions.\n')
184
162
f.close()
185
163
print(f'{colors.red}[{current_time}/WARN] Ignoring exception at MissingPermissions. Details: The user doesn\'t have the required permissions.{colors.end}')
awaitctx.send(':x: I don\'t have permissions to do this. Kindly manage my role permissions to get this feature working.')
199
175
ifos.name=='nt':
200
176
withopen(errorHandler_path, 'a') asf:
201
177
f.write(f'[{current_time}/WARN] Ignoring exception at BotMissingPermissions.\n Details: The bot doesn\'t have the required permissions.\n')
202
178
f.close()
203
179
print(f'{colors.red}[{current_time}/WARN] Ignoring exception at BotMissingPremissions. Details: The bot doesn\'t have the required permissions.{colors.end}')
0 commit comments