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:
parent
1642aded0a
commit
7f2b663dba
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue