mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-26 04:33:00 -05:00
committed by
Toby Harradine
parent
dae75521d3
commit
889fa63aff
@@ -1015,23 +1015,6 @@ class Core(commands.Cog, CoreLogic):
|
||||
|
||||
await ctx.send(_("Locale has been set."))
|
||||
|
||||
@_set.command()
|
||||
@checks.is_owner()
|
||||
async def sentry(self, ctx: commands.Context, on_or_off: bool):
|
||||
"""Enable or disable Sentry logging.
|
||||
|
||||
Sentry is the service Red uses to manage error reporting. This should
|
||||
be disabled if you have made your own modifications to the redbot
|
||||
package.
|
||||
"""
|
||||
await ctx.bot.db.enable_sentry.set(on_or_off)
|
||||
if on_or_off:
|
||||
ctx.bot.enable_sentry()
|
||||
await ctx.send(_("Done. Sentry logging is now enabled."))
|
||||
else:
|
||||
ctx.bot.disable_sentry()
|
||||
await ctx.send(_("Done. Sentry logging is now disabled."))
|
||||
|
||||
@_set.command()
|
||||
@checks.is_owner()
|
||||
async def custominfo(self, ctx: commands.Context, *, text: str = None):
|
||||
|
||||
Reference in New Issue
Block a user