Commit Graph

89 Commits

Author SHA1 Message Date
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
SeanOMik ce11b1613c
Finish event system. 2020-05-29 23:59:23 -05:00
SeanOMik edbde752af
Start on an event handler. It may work or not 🤷 2020-05-29 01:21:02 -05:00
SeanOMik 0b11d2f5e0
Get the gateway heartbeating. 2020-05-29 01:20:39 -05:00
SeanOMik e87241d7a6
Get the client connected but nothing else. 2020-05-28 00:50:53 -05:00
SeanOMik 39bacd412e
Initial commit 2020-05-27 19:15:44 -05:00