Added MonoDevelop support

This commit is contained in:
Brandon Smith
2015-09-25 22:01:30 -03:00
parent dd19a625e3
commit 7e3ad11a8b
5 changed files with 54 additions and 44 deletions

View File

@@ -21,11 +21,11 @@ namespace Discord
public CommandEventArgs(Message message, Command command, string commandText, int? permissions, string[] args)
{
Message = message;
Command = command;
CommandText = commandText;
Permissions = permissions;
Args = args;
this.Message = message;
this.Command = command;
this.CommandText = commandText;
this.Permissions = permissions;
this.Args = args;
}
}
public class CommandErrorEventArgs : CommandEventArgs
@@ -35,7 +35,7 @@ namespace Discord
public CommandErrorEventArgs(CommandEventArgs baseArgs, Exception ex)
: base(baseArgs.Message, baseArgs.Command, baseArgs.CommandText, baseArgs.Permissions, baseArgs.Args)
{
Exception = ex;
this.Exception = ex;
}
}
public partial class DiscordBotClient : DiscordClient