Commit Graph

105 Commits

Author SHA1 Message Date
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
SeanOMik c3b9e6bedf
Attempt to get debugging working 2020-06-17 23:50:29 -05:00
SeanOMik 3630005e19
Simplify creation of IOError exception 2020-06-17 23:50:17 -05:00
SeanOMik 38c25b670d
Add headers into sendRequest debug message 2020-06-17 23:49:28 -05:00
SeanOMik 4d29ea5a47
Remove unneeded import 2020-06-17 22:37:21 -05:00
SeanOMik 58020c2cc7
Add some documentation 2020-06-17 22:36:37 -05:00
SeanOMik f5bab02a83
Add GuildCreateEvent 2020-06-17 22:19:13 -05:00
SeanOMik 875050c6b6
Add guild 2020-06-17 22:18:59 -05:00
SeanOMik b3dc748a64
Create channel, cache, and split client types into seperate nim file 2020-06-17 22:18:54 -05:00
SeanOMik 947dc6884a
Move some request things into nimcordutils 2020-06-17 22:18:22 -05:00
SeanOMik a4055c5fd9
Fix rate limit 2020-06-17 22:17:46 -05:00
SeanOMik ef1d87a311
Fix getIDFromJson 2020-06-17 22:16:58 -05:00
SeanOMik ac325ead99
Get user discriminator correctly 2020-06-17 22:16:21 -05:00
SeanOMik 9a6bed2992
Fix message constructor 2020-06-17 22:16:08 -05:00
SeanOMik 4cca6ca804
Attempt to get debugging working 2020-06-17 00:34:59 -05:00
SeanOMik 2bf20854d6
Push untested ratelimiting. 2020-06-17 00:34:23 -05:00
SeanOMik 2e12d71f0a
Fix message event dispatch 2020-06-17 00:34:06 -05:00
SeanOMik 3354b18998
Add token.txt in .gitignore 2020-05-31 01:15:31 -05:00
SeanOMik 55b10c0593
Dont shadow json module in message constructor also. 2020-05-31 01:15:16 -05:00
SeanOMik ec8e41fa84
Fix exception when trying to read from token file. 2020-05-31 01:14:56 -05:00
SeanOMik 6781ee5eea
Dont shadow json module. 2020-05-31 01:14:21 -05:00
SeanOMik 512239b986
Read token from file. 2020-05-31 01:13:57 -05:00
SeanOMik 5d33830255
Create utils file for various things. 2020-05-31 00:10:18 -05:00
SeanOMik 44aee846b1
Create message create event. 2020-05-31 00:09:30 -05:00
SeanOMik 5bdf6dc134
Create message type 2020-05-31 00:08:44 -05:00
SeanOMik 140d173d8d
Add more fields to User type and create Member type. Also constructors 2020-05-30 23:44:48 -05:00
SeanOMik 858ccf33c7
Merge remote-tracking branch 'origin/master' 2020-05-30 21:49:50 -05:00
SeanOMik a1a63f93e2
Fix having multiple listeners for the same event. 2020-05-30 21:45:11 -05:00
Intexisty 16c3fdadc6
added user & GuildMember 2020-05-30 14:13:58 -05:00
intexisty 1e7ada16e1
Create README.md 2020-05-30 13:48:22 -05:00
SeanOMik b78d6958ae
Make snowflake type public. 2020-05-30 00:11:46 -05:00
SeanOMik ce613cb3cc
Add discord object type. 2020-05-30 00:10:06 -05:00