Releases: RileCraft/DiscordBot-Template
Releases · RileCraft/DiscordBot-Template
V7.0.0 V14 Rewrite
@7.0.0 v14 Update
@6.0.3 Bug Fixes
- Fixed broken file path in
bot.js
.
@6.0.2 Root folder renamed to Src
- The
Root
folder is now renamed toSrc
as it makes more sense. I had to do it ok :( - Depth flag which can be used as
--depth=Number
to increase or decrease depths in evals. Default depth is0
. - Documentation and FAQ has been moved to Gitbook to manage them more easier and cause it looks fancy kek. There is a new branch
Documentation
which you can open contribute to, all commits to the branch are automatically updated on the docs site.
V6.0.1 EventHandler Fixed (Major)
- Fixed event handler.
V6.0.0 Major Update
Changelog for 6.0.0
- The old global variable
ROOT
no longer exists. - There is a new object called
container
which is passed through events and commands. It contains:
- Discord. (
require("discord.js")
) - Config. (
Config file
) - RootPath (
Root path of the main file.
)
- This is NOT a global variable.
- To access
Discord
you have to now usecontainer.Discord
instead of oldDiscord
.Discord
is no longer passed through command or event handlers. - So people don't have to
require()
all these things whenever they use the eval command,container
object has been passed tothis
in the eval command. This means you can just dothis.Discord
to access it instead of having to dorequire("discord.js")
all the time. - There is a new dependency which is
cli-box
. It is used to make the new fancy console log on startup. If you don't want the new startup style then keep the old code and just removecli-box
from yourpackage.json
. - Not everything has been tested so there can be bugs with the new system, So please report the bugs whenever you find one. Reports bugs in our discord or make a issue on github.
v5.0.3 DJS Version Change
V5.0.3 (Discord.JS Version Update)
Structures Fix
5.0.2 Merge branch 'Master' of https://github.com/RileCraft/DiscordBot-Temp…
V5.0.1 IgnoreFile Update
Merge branch 'Master' of https://github.com/RileCraft/DiscordBot-Temp…
v5.0.0 Major Update
V5.0.0 Update