Skip to content

Commit

Permalink
add all type/ files and move it into loadplugins()
Browse files Browse the repository at this point in the history
  • Loading branch information
rapus95 committed Jun 7, 2021
1 parent 9bd022a commit 0103efa
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/HoJBot.jl
Original file line number Diff line number Diff line change
@@ -30,15 +30,13 @@ include("util.jl")
include("discord.jl")
include("main.jl")

include("type/mod.jl")
loadplugins()

include("type/discourse.jl")

include("type/ig.jl")

includejlfiles("command/")

includejlfiles("handlers/")
function loadplugins()
includejlfiles("type/")
includejlfiles("command/")
includejlfiles("handlers/")
end

function includejlfiles(dir)
wd = walkdir(dir)

0 comments on commit 0103efa

Please sign in to comment.