Commit Graph

136 Commits

Author SHA1 Message Date
SeanOMik 91f848208a
Add more tests in embeds 2020-06-20 12:48:59 -05:00
SeanOMik 8843b25906
Send embeds! 2020-06-20 01:33:52 -05:00
SeanOMik b608f7dfd3
Fix some issues with Embed 2020-06-20 01:33:27 -05:00
SeanOMik 8fb6fda602
Create embed type. 2020-06-20 01:20:58 -05:00
SeanOMik 24fea025a1
Add Cache.getUser proc and add some documentation. 2020-06-20 00:34:43 -05:00
SeanOMik d88e31e3c3
Add documentation 2020-06-19 23:01:22 -05:00
SeanOMik 2c30155764
Remove some debug messages 2020-06-19 22:59:02 -05:00
SeanOMik 97e785de9b
Create guild.getGuildMemberRoles 2020-06-19 16:15:55 -05:00
SeanOMik 4d135a73c7
Convert member.roles to seq[snowflake] from seq[Role] 2020-06-19 16:10:39 -05:00
SeanOMik 60569d6c87
Add emoji endpoints. 2020-06-19 16:09:06 -05:00
SeanOMik caa20f2c9c
Finish all guild related endpoints and add a guildID field to some types 2020-06-19 01:32:28 -05:00
SeanOMik 65344ad26c
Check if handleDiscordEvent raises an exception 2020-06-19 00:23:32 -05:00
SeanOMik 57c4a44fca
Add guildID field in Role type. 2020-06-18 23:57:23 -05:00
SeanOMik 4bf2ad785e
Create Image type. 2020-06-18 22:01:22 -05:00
SeanOMik a665d00030
Add a getGuild proc and most some things around. 2020-06-18 21:24:15 -05:00
SeanOMik deb19c8842
Add documentation in eventhandler.nim 2020-06-18 21:23:56 -05:00
SeanOMik 9e4da6a718
Fix code blocks and add documentation for some client procs. 2020-06-18 21:20:09 -05:00
SeanOMik 6d7897a100
Add some documentation for types, remove ChannelType field in guild.nim 2020-06-18 19:08:30 -05:00
SeanOMik a856900693
Create Guild.createGuild proc. 2020-06-18 19:08:02 -05:00
SeanOMik a209c9e680
Export Channel fields. 2020-06-18 18:55:04 -05:00
SeanOMik 3397754545
Add Role type to Member. 2020-06-18 18:34:13 -05:00
SeanOMik c8810604ac
Add Role, Emoji, and Permissions to the Guild type. 2020-06-18 18:31:57 -05:00
SeanOMik 5fa52cd38b
Get role.permissions correctly on construction. 2020-06-18 18:29:00 -05:00
SeanOMik 28649645e3
Add new permissions constructor and create Role type 2020-06-18 18:27:03 -05:00
SeanOMik 153b5ee764
Fix documentation generation error 2020-06-18 18:12:44 -05:00
SeanOMik bc650bb867
Add Channel.editChannelPermissions 2020-06-18 18:10:32 -05:00
SeanOMik 0c16ecada5
Make some procs async 2020-06-18 18:10:21 -05:00
SeanOMik 28fd1c443a
Add Permissions to the channels type. 2020-06-18 18:05:28 -05:00
SeanOMik 0af96d238d
Add permissionsToJson 2020-06-18 18:05:09 -05:00
SeanOMik ddfa53805a
Export type fields. 2020-06-18 17:48:48 -05:00
SeanOMik 05d44e314b
Add permission type. 2020-06-18 17:48:36 -05:00
SeanOMik f121a3043d
Remove unneeded pragma 2020-06-18 17:01:48 -05:00
SeanOMik 9b320ff8ad
Remove unused import 2020-06-18 16:19:55 -05:00
SeanOMik b639a8da61
Add Emoji.== operator 2020-06-18 16:19:32 -05:00
SeanOMik ba12b8ae03
Add some more fields to some of the message proc's docs 2020-06-18 16:12:00 -05:00
SeanOMik e153ddea49
Make generate doc scripts better 2020-06-18 16:09:22 -05:00
SeanOMik 9cc9883f3a
Add generate docs scripts 2020-06-18 16:03:34 -05:00
SeanOMik 6917535954
Make member and user `ref object of DiscordObject` 2020-06-18 15:58:10 -05:00
SeanOMik 4af2f4f711
Add documentation for Message.editMessage 2020-06-18 15:46:22 -05:00
SeanOMik fb71f31ea5
Finish all of channel endpoints that were supposed to be in message.nim 2020-06-18 15:45:31 -05:00
SeanOMik 61cfff995a
Add a test command for adding mesage reactions. 2020-06-18 15:32:28 -05:00
SeanOMik 7f7717ce63
Try to get debugger working. 2020-06-18 15:32:18 -05:00
SeanOMik 4a6f941683
Add proc documentation 2020-06-18 15:32:05 -05:00
SeanOMik 1c6e24ba29
Add reaction, edit, and delete message 2020-06-18 15:31:51 -05:00
SeanOMik 82147ce491
Fix waiting for rate limiting 2020-06-18 15:31:38 -05:00
SeanOMik 195dcff3ed
Export discord object == operator 2020-06-18 15:31:28 -05:00
SeanOMik b8c61487a2
Add emoji type 2020-06-18 15:31:12 -05:00
SeanOMik f1ec478904
Finish all channel endpoints that should be in channel.nim
There's still some other channel related endpoints but they should be in `message.nim` not `channel.nim`
2020-06-18 00:52:32 -05:00
SeanOMik 0e1cb7280a
Add Channel.getMessages method 2020-06-17 23:51:38 -05:00
SeanOMik f312b914ff
Fix code block thing for documentation 2020-06-17 23:51:20 -05:00