old_contents: import asyncio
  import discord
  import sys
  import traceback
  from   discord.ext import commands
  from   discord import errors
  from   Cogs import Message
  
  def setup(bot):
  	bot.add_cog(Errors())
  
  class Errors(commands.Cog):
  
  	def __init__(self):
  		pass
  
  	@commands.Cog.listener()
  	async def on_command_error(self, context, exception):
  		if type(exception) is commands.CommandInvokeError and type(exception.original) is discord.Forbidden:
  			return await Message.EmbedText(
  					title="⚠ Forbidden Error",
  					color=context.author,
  					description="Looks like I tried to do something I don't have permissions for!\nIf `{}{}` is role-based - make sure that my role is above the affected role(s).".format(context.prefix, context.command.name)
  				).send(context)
  		if str(exception).startswith("Music Cog: "):
  			# Generic music exception - ignore
  			return
  		cog = context.cog
  		if cog:
  			attr = '_{0.__class__.__name__}__error'.format(cog)
  			if hasattr(cog, attr):
  				return
  		print('Ignoring exception in command {}:'.format(context.command), file=sys.stderr)
  		traceback.print_exception(type(exception), exception, exception.__traceback__, file=sys.stderr)
  
  
new_contents: import asyncio
  import discord
  import sys
  import traceback
  from   discord.ext import commands
  from   discord import errors
  from   Cogs import Message
  
  def setup(bot):
  	bot.add_cog(Errors())
  
  class Errors(commands.Cog):
  
  	def __init__(self):
  		pass
  
  	@commands.Cog.listener()
  	async def on_command_error(self, context, exception):
  		if type(exception) is commands.CommandInvokeError:
  			if type(exception.original) is discord.Forbidden:
  				return await Message.EmbedText(
  						title="⚠ Forbidden Error",
  						color=context.author,
  						description="Looks like I tried to do something I don't have permissions for!\nIf `{}{}` is role-based - make sure that my role is above the affected role(s).".format(context.prefix, context.command.name)
  					).send(context)
  			elif type(exception.original) is discord.errors.HTTPException and "Must be 2000 or fewer in length" in str(exception.original):
  				return await Message.EmbedText(
  						title="⚠ I Got Too Wordy",
  						color=context.author,
  						description="Looks like I tried to send a response that was greater than 2,000 characters!"
  					).send(context)
  		if str(exception).startswith("Music Cog: "):
  			# Generic music exception - ignore
  			return
  		cog = context.cog
  		if cog:
  			attr = '_{0.__class__.__name__}__error'.format(cog)
  			if hasattr(cog, attr):
  				return
  		print('Ignoring exception in command {}:'.format(context.command), file=sys.stderr)
  		traceback.print_exception(type(exception), exception, exception.__traceback__, file=sys.stderr)
  
  
subject: Add global error for > 2,000 char message attempts