Restructure project for nimble

This commit is contained in:
SeanOMik 2020-06-22 15:41:32 -05:00
parent 253ea1004d
commit b3e10e6bc4
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
19 changed files with 12 additions and 5 deletions

12
src/nimcord.nim Normal file
View File

@ -0,0 +1,12 @@
import nimcord/[cache, channel, client, clientobjects, discordobject]
import nimcord/[embed, eventdispatcher, guild, image, member, message]
import nimcord/[nimcordutils, permission, presence, role, user]
export cache, channel, client, clientobjects, discordobject
export embed, eventdispatcher, guild, image, member, message
export nimcordutils, permission, presence, role, user
const
nimcordMajor = 0
nimcordMinor = 0
nimcordMicro = 1

View File

@ -2,11 +2,6 @@ import websocket, asyncdispatch, json, httpClient, eventdispatcher, strformat
import eventhandler, streams, nimcordutils, discordobject, user, cache, clientobjects import eventhandler, streams, nimcordutils, discordobject, user, cache, clientobjects
import strutils, channel, options, message, emoji, guild, embed, os, presence import strutils, channel, options, message, emoji, guild, embed, os, presence
const
nimcordMajor = 0
nimcordMinor = 0
nimcordMicro = 0
type type
DiscordOpCode = enum DiscordOpCode = enum
opDispatch = 0, opDispatch = 0,