Commit Graph

132 Commits

Author SHA1 Message Date
SeanOMik 2ff89d9e18
Don't export Shard.reconnectShard 2020-08-28 16:07:57 -05:00
SeanOMik 6a31124ec5
Fix issues with reconnecting 2020-08-28 16:02:38 -05:00
SeanOMik 4cf31f1bc3
Use logger in most places and just some bug fixes 2020-08-20 19:12:42 -05:00
SeanOMik dfa7017342
Fix typo 2020-08-20 09:35:08 -05:00
SeanOMik 156ff09a7d
Add `Deglobalize` as a todo
Remove global client instance to allow more than one client instance in one process.
2020-08-20 09:34:48 -05:00
SeanOMik 0764147bed
Make a bunch of image url getters and memory optimize the image hashes 2020-08-13 19:39:50 -05:00
SeanOMik fadf533066
Generate documentation for new command system 2020-08-13 19:36:25 -05:00
SeanOMik 4d2ebd211d
Add a command handler 2020-08-13 18:05:23 -05:00
Intexisty 43b6959805
added more documentation
updated documentation in emoji.nim, image.nim, message.nim, and role.nim
2020-08-13 13:42:28 -05:00
Intexisty befff9d294
Added documentation to guild.nim 2020-08-13 13:35:26 -05:00
Intexisty 8307daff81
added ClientUser object 2020-08-13 13:25:37 -05:00
SeanOMik 3216b4481f
Merge pull request #1 from avahe-kellenberger/master
Clean-up and Nim version fix.
2020-08-07 22:26:22 -05:00
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