aboutsummaryrefslogtreecommitdiff
path: root/features/fragBot
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-17 17:07:49 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-17 17:07:49 +0800
commitf9085b19e0bc3d4bc28fc13a5603a31a91ee7c20 (patch)
treeddc15e284c7e800bef0321ac5c7f0a028f56409b /features/fragBot
parent84c0f2e026ebfa9017dacc1f8bfde9647315392a (diff)
downloadSoopyV2-f9085b19e0bc3d4bc28fc13a5603a31a91ee7c20.tar.gz
SoopyV2-f9085b19e0bc3d4bc28fc13a5603a31a91ee7c20.tar.bz2
SoopyV2-f9085b19e0bc3d4bc28fc13a5603a31a91ee7c20.zip
- unload all modules on game unload event
- make all chatlib chats use soopyv2 prefix
Diffstat (limited to 'features/fragBot')
-rw-r--r--features/fragBot/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/fragBot/index.js b/features/fragBot/index.js
index 67bb9a3..e3a571f 100644
--- a/features/fragBot/index.js
+++ b/features/fragBot/index.js
@@ -61,10 +61,10 @@ class FragBot extends Feature {
fragbotCommand(...args){
if(this.hostingFragBot){
this.hostingFragBot = false
- ChatLib.chat("&aFragbot has been disabled")
+ ChatLib.chat(this.FeatureManager.messagePrefix + "Fragbot has been disabled")
}else{
this.hostingFragBot = true
- ChatLib.chat("&aNow acting as a fragbot, run /fragbot again to disable")
+ ChatLib.chat(this.FeatureManager.messagePrefix + "Now acting as a fragbot, run /fragbot again to disable")
}
}