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 14, 2021
1 parent 4067256 commit 76dc200
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
Expand Up @@ -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)
Expand Down

0 comments on commit 76dc200

Please sign in to comment.