1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-28 01:33:10 +00:00

Fixed bot typo bug

This commit is contained in:
diamondburned (Forefront) 2020-01-24 18:51:17 -08:00
parent 1642aded0a
commit 7f2b663dba

View file

@ -204,7 +204,7 @@ func (ctx *Context) callMessageCreate(mc *gateway.MessageCreateEvent) error {
Prefix: ctx.Prefix,
Index: len(args) - start,
Err: "Not enough arguments given",
ctx: cmd,
Ctx: cmd,
}
}
@ -240,7 +240,7 @@ func (ctx *Context) callMessageCreate(mc *gateway.MessageCreateEvent) error {
Prefix: ctx.Prefix,
Index: len(args) - 1,
Err: "Not enough arguments given",
ctx: cmd,
Ctx: cmd,
}
}
@ -254,7 +254,7 @@ func (ctx *Context) callMessageCreate(mc *gateway.MessageCreateEvent) error {
Prefix: ctx.Prefix,
Index: i,
Err: err.Error(),
ctx: cmd,
Ctx: cmd,
}
}