Commit Graph

120 Commits

Author SHA1 Message Date
Avahe Kellenberger fcb7993dc5 Removed semi-colons. 2020-08-05 03:13:30 -04:00
Avahe Kellenberger 38f138f0a8 Clean-up and Nim version fix. 2020-08-05 03:06:52 -04:00
SeanOMik a061c825ef
Only add shard in identify if shard count is more than 1 2020-06-23 23:06:56 -05:00
SeanOMik 8a9436f831
Sharding 2020-06-23 00:08:25 -05:00
SeanOMik 1fe136186d
Make sendMessage async 2020-06-23 00:07:33 -05:00
SeanOMik 6852c1243f
Create log.nim 2020-06-22 23:18:21 -05:00
SeanOMik 4c71b7f0f9
Fix presence. 2020-06-22 18:06:29 -05:00
SeanOMik cda772f4fa
Do the readme. 2020-06-22 17:30:56 -05:00
SeanOMik e5dcdb8640
Upload examples 2020-06-22 16:57:54 -05:00
SeanOMik 3b99b5bd23
Fix some emoji json parsing issues 2020-06-22 16:57:16 -05:00
SeanOMik e3c561a690
Export and import everything in `nimcord.nim` 2020-06-22 16:52:39 -05:00
SeanOMik bb0f397aae
Remove bot example from client.nim. Also export `newDiscordClient` 2020-06-22 16:46:56 -05:00
SeanOMik b64edd95e0
Fix documentation generating scripts. 2020-06-22 15:57:42 -05:00
SeanOMik b3e10e6bc4
Restructure project for nimble 2020-06-22 15:41:32 -05:00
SeanOMik 253ea1004d
Create a working nimble file 2020-06-22 15:25:42 -05:00
SeanOMik 545caa3380
Fix guild.getGuildMember 2020-06-22 15:18:28 -05:00
SeanOMik e5504a32d8
Finish all gateway events. Still needs testing. 2020-06-22 15:15:13 -05:00
SeanOMik 6dc65dfd23
Convert cache to use Tables instead and more event dispatches 2020-06-22 13:04:01 -05:00
SeanOMik 980d3c773e
Remove TODO 2020-06-22 12:32:24 -05:00
SeanOMik c6399b31eb
Reconnecting was really broken, now fixed, but still needs more testing 2020-06-22 00:42:59 -05:00
SeanOMik 133975b59d
Get reconnecting done, needs testing! 2020-06-22 00:23:25 -05:00
SeanOMik 0c3f1d040c
Remove debug, globalClient, and set clientUser in dispatch ready event 2020-06-22 00:22:48 -05:00
SeanOMik a38e361d54
Add deleteChannelPermission 2020-06-21 15:13:58 -05:00
SeanOMik 1b4fcaaa79
Allow editing of message's embeds 2020-06-21 00:13:54 -05:00
SeanOMik b40fe05df4
Set members presence's and fix Activity constructor. 2020-06-21 00:12:12 -05:00
SeanOMik 4a1798c346
Add ability to update bot's presence with Presence custom type 2020-06-20 23:38:23 -05:00
SeanOMik dc681a62e4
Add `cacheGuildChannel` 2020-06-20 23:37:52 -05:00
SeanOMik 76b1797bee
Finish channelCreateEvent 2020-06-20 23:05:51 -05:00
SeanOMik 5b5b55735e
Add reconnect todo 2020-06-20 14:29:45 -05:00
SeanOMik eba9eeb741
Finish some TODO's 2020-06-20 14:20:13 -05:00
SeanOMik 5166ffe8ed
Remove some finished TODO's 2020-06-20 14:01:20 -05:00
SeanOMik 06f0e536b1
Send files 2020-06-20 13:59:49 -05:00
Intexisty c105a0c29a
added event classes, working on dispatch 2020-06-20 13:24:21 -05:00
SeanOMik b29e282300
Parse more json fields in message constructor. 2020-06-20 13:08:53 -05:00
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