ks129
75fe1bd03a
Implement command aliases
...
- Add alias parsing to `Context.findCommand`.
- Add new function to `Subcommand`: `AddAliases` that add new alias(es) to command.
- Added `Aliases` property to `MethodContext`
2020-05-24 23:08:55 -07:00
mavolin
41ce1f389e
make all error messages lowercase
2020-05-16 23:14:49 +02:00
diamondburned
795a69ca7d
Bot: Added EditableCommands
2020-05-14 18:52:15 -07:00
diamondburned
17c620dd5a
Bot: Updated arguments test
2020-05-14 18:07:16 -07:00
diamondburned
fe950de9e0
Examples: Fixed up advanced_bot to make it up to date
2020-05-14 18:01:48 -07:00
diamondburned
729979088c
Bot: Added more tests and the Help API
2020-05-14 14:04:18 -07:00
diamondburned (Forefront)
6613aa5b41
Bot: Added tests for middlewares
2020-05-14 13:59:17 -07:00
diamondburned (Forefront)
e556d2afad
Bot: Partially implemented middlewares
2020-05-14 13:59:17 -07:00
diamondburned (Forefront)
67430c6d7a
Bot: Added Plumb support, fixed tests
...
Merged
Merged
2020-05-14 13:59:17 -07:00
diamondburned (Forefront)
9e59402591
Bot: Added tests for middlewares
2020-05-14 13:59:17 -07:00
diamondburned (Forefront)
964e8cdf13
Bot: Partially implemented middlewares
2020-05-14 13:59:17 -07:00
diamondburned (Forefront)
c4504808a2
Bot: Updated message URL for arguments
2020-05-14 00:19:51 -07:00
diamondburned (Forefront)
2548b92f1e
Bot: Errors can no longer mention others.
2020-05-12 01:02:08 -07:00
diamondburned (Forefront)
85c1326526
Bot: Added ArgsParser for each Context instead of global
2020-05-05 23:23:52 -07:00
diamondburned (Forefront)
7dbdc78d67
Bot: Added package infer for getting IDs from unknown structs
2020-05-05 23:15:25 -07:00
diamondburned (Forefront)
d3574c2d7c
Bot: Added arguments.Joined
2020-05-04 00:14:11 -07:00
diamondburned (Forefront)
25ecbb0ca5
Bot: Fixed RawArguments, added more tests for that
2020-05-03 23:48:12 -07:00
diamondburned (Forefront)
90bf9d74e3
Bot: Fixed bug where RawArguments still have the command
2020-05-03 22:57:44 -07:00
diamondburned (Forefront)
4a14c4d059
Bot: Allow variadic functions to have empty trailing arguments
2020-05-03 21:22:19 -07:00
diamondburned (Forefront)
6ece6e72ff
API: Added 'Raw' which describes that type better
2020-05-03 19:13:58 -07:00
diamondburned (Forefront)
be99041a03
Bot: API breakage to indicate changes
2020-05-03 19:12:44 -07:00
diamondburned (Forefront)
cf48bd8543
Bot: Variadic arguments are now ellipsized in help
2020-05-03 18:35:51 -07:00
diamondburned (Forefront)
b122aa6561
Bot: Added trailing manual parser support
2020-05-03 18:33:24 -07:00
diamondburned (Forefront)
3b903dce68
Bot: Added variadic arguments support
2020-05-03 15:59:10 -07:00
diamondburned (Forefront)
748ad5641c
API: Added AllowedMentions and more tests
2020-04-19 16:35:37 -07:00
diamondburned (Forefront)
7905e2138b
Fixed tests that broke because of previous breaking change
2020-04-12 16:24:28 -07:00
diamondburned (Forefront)
9411dcc74f
Bot: Removed deprecated Wait() API
2020-04-12 11:08:19 -07:00
diamondburned (Forefront)
4e4ebde93a
Gateway: Deprecated Wait(), fixed ReconnectOP bug
2020-04-12 11:06:43 -07:00
diamondburned (Forefront)
e0a002cc6d
Bot: Descriptions now show next to arguments
2020-04-10 20:17:55 -07:00
diamondburned (Forefront)
06136b7d5f
Websocket: Replaced Conn's mutices with channels
2020-04-10 20:03:52 -07:00
diamondburned (Forefront)
aa53661b60
Bot: Prettier help formatting
2020-04-09 23:10:21 -07:00
diamondburned (Forefront)
70ace8e5e4
Bot: Added AllowBot
2020-04-09 21:46:21 -07:00
diamondburned (Forefront)
cc530ce7a2
Bot: Allow func(T), added more documentation, minor fixes
2020-04-09 13:49:12 -07:00
diamondburned (Forefront)
922c32c0eb
Bot: Added FindCommand
2020-04-08 23:06:46 -07:00
diamondburned (Forefront)
fb1b028ad7
Bot: Corrected arguments.Emoji's ID field
2020-04-08 21:33:46 -07:00
diamondburned (Forefront)
3ee307b788
Bot: Added Usager, improved help
2020-04-08 21:25:50 -07:00
diamondburned (Forefront)
9fefba18f7
Bot: Fixed tests to pass with the new Prefixer API
2020-04-06 13:31:27 -07:00
diamondburned (Forefront)
09ae9fbb07
Bot: Added a Prefixer API which breaks the old Prefix string API
2020-04-06 13:27:33 -07:00
diamondburned (Forefront)
8c833814ba
Examples: Fixed advanced_bot bug where it immediately removes its own handlers
2020-03-30 18:02:51 -07:00
diamondburned (Forefront)
64dad6b2be
Bot: Flag separator is now a variable
2020-03-03 15:24:08 -08:00
diamondburned (Forefront)
0cd486fc38
Revert "Gateway: State refactored into smaller components"
...
This reverts commit 11465c62bd
.
2020-02-29 18:54:14 -08:00
diamondburned (Forefront)
11465c62bd
Gateway: State refactored into smaller components
2020-02-29 18:50:50 -08:00
diamondburned (Forefront)
f0102d765f
Gateway: Added a retry limit
...
State: Event handlers now handle all of Ready's Guilds field
Session: Added Wait, which blocks until SIGINT or Gateway error
2020-02-29 18:13:58 -08:00
diamondburned (Forefront)
79c4c1caca
Gateway/State: Added message acking and more user update events for State
2020-02-24 21:50:13 -08:00
diamondburned
00c1e5c43c
Bot: Fixed compile error
2020-02-21 07:57:35 -08:00
diamondburned
f3b4362ada
API: Added reactions into rate limit parsers
2020-02-07 08:31:10 -08:00
diamondburned (Forefront)
1e95e108c8
Bot: added more tests
2020-02-04 21:19:45 -08:00
diamondburned (Forefront)
49b69d1b30
Bot: slightly more tests
2020-02-04 21:19:38 -08:00
diamondburned (Forefront)
3770927a48
Bot: trivial fixes
2020-01-28 16:01:39 -08:00
diamondburned (Forefront)
1c25ccbf8e
Bot: added data return types
2020-01-26 01:06:54 -08:00
diamondburned (Forefront)
0c57c6d127
Bot: errors are now mention-escaped
2020-01-26 00:00:52 -08:00
diamondburned (Forefront)
9e5a88713a
Improved the command parser's error
2020-01-25 23:17:18 -08:00
diamondburned (Forefront)
77729ead48
Bot: fixed bug where subcommands with no visible commands would show
2020-01-25 22:26:08 -08:00
diamondburned (Forefront)
afe1b4621f
Bot: parser changed to a slimmed down version
2020-01-25 22:15:39 -08:00
diamondburned (Forefront)
0751f45bdb
Bot: changed to a better command parser
2020-01-25 21:58:06 -08:00
diamondburned (Forefront)
9d3528190f
Bot: added Plumb flag, methods no longer need arguments be pointers
2020-01-25 21:43:42 -08:00
diamondburned (Forefront)
9f24ff3c9f
Fixed bug where MessageCreate handlers aren't called
2020-01-25 18:03:09 -08:00
diamondburned (Forefront)
95b6a1c0c9
ManualParser commands can now have no arguments
2020-01-25 17:54:04 -08:00
diamondburned (Forefront)
0304ffaeb0
Bot: added the Hidden nameflag
2020-01-25 14:30:15 -08:00
diamondburned (Forefront)
9d5164be65
Fixed subcommand bug where argv[0] is invalid
2020-01-25 14:15:42 -08:00
diamondburned (Forefront)
39e6188787
Bot: simplified Arguments of a CommandContext
2020-01-25 14:07:49 -08:00
diamondburned (Forefront)
0c8c43d3f5
Bot: Added (*RawArguments).After
2020-01-25 13:43:25 -08:00
diamondburned (Forefront)
bdcc863d45
Extended bot.RawArguments
2020-01-25 13:01:05 -08:00
diamondburned (Forefront)
b45c0489bb
Fixed bug where MessageCreate middlewares are called for other events
2020-01-24 18:56:08 -08:00
diamondburned (Forefront)
7f2b663dba
Fixed bot typo bug
2020-01-24 18:51:17 -08:00
diamondburned (Forefront)
1642aded0a
Fixed the emoji argument
2020-01-24 18:49:33 -08:00
diamondburned
367f445ee9
Fixed bugs in the bot package
...
Bugs include: Events not being called, inconsistent subcommand casing
2020-01-24 08:08:12 -08:00
diamondburned (Forefront)
a5d817b28d
Help subcommand method
2020-01-23 22:46:17 -08:00
diamondburned (Forefront)
3d81c28685
Commands are now camel-cased
2020-01-23 22:30:32 -08:00
diamondburned (Forefront)
3baf89671b
Bot: Separated events from commands
2020-01-23 22:27:21 -08:00
diamondburned (Forefront)
95f06cca45
Added HelpAdmin
2020-01-23 22:20:02 -08:00
diamondburned (Forefront)
4dcb6178c8
Added Mention methods to arguments
2020-01-23 20:54:46 -08:00
diamondburned (Forefront)
586c6ceaa4
Separated String() and APIString() for Emoji argument
2020-01-23 20:01:59 -08:00
diamondburned (Forefront)
8ae2378484
Improved Emoji parser in arguments
2020-01-23 19:54:47 -08:00
diamondburned (Forefront)
97b8d4f54e
Fixed subcommands test
2020-01-23 19:22:24 -08:00
diamondburned
aadcbd0767
Added middleware features into package bot. ( #3 )
...
* Middleware nameflag
* Completed M-Middleware feature
* Changed Namer/Descriptor API to CanSetup API
2020-01-23 19:17:03 -08:00
diamondburned (Forefront)
09d8c5bc43
Added GuildOnly into bot handler
2020-01-22 23:20:24 -08:00
diamondburned (Forefront)
d38cf1508a
More Bot API improvements
2020-01-21 23:26:46 -08:00
diamondburned (Forefront)
6d4b23ff05
Bot API improvements
2020-01-21 23:24:15 -08:00
diamondburned (Forefront)
7e73f00eb9
Fixed bug where ParseContent interface methods won't return a proper error
2020-01-20 20:25:47 -08:00
diamondburned (Forefront)
ff0bc7b98b
Tweaks to tests and CI
2020-01-20 03:15:41 -08:00
diamondburned (Forefront)
1c9b45e051
Tweaked bot router docs
2020-01-19 19:46:48 -08:00
diamondburned (Forefront)
a6bf7c340b
Added example into bot/Context's doc
2020-01-19 17:58:24 -08:00
diamondburned (Forefront)
28228a60f5
Ported rfrouter over
2020-01-18 22:06:00 -08:00