aboutsummaryrefslogtreecommitdiff
path: root/events
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-25 13:08:27 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-25 13:08:27 -0500
commitc2ed17bc46fa025f15b7fc4007ec3546c7823b4b (patch)
tree8bef425053c692d8d4bdbe05714466c59e9105d0 /events
parent060792543b25e8194d9a5687392a743fae5c5f6d (diff)
parent846f59ecc018704b78f0b33d6dda081fc5a5cf05 (diff)
downloadPokeBot-c2ed17bc46fa025f15b7fc4007ec3546c7823b4b.tar.gz
PokeBot-c2ed17bc46fa025f15b7fc4007ec3546c7823b4b.tar.bz2
PokeBot-c2ed17bc46fa025f15b7fc4007ec3546c7823b4b.zip
Merge branch 'master' of https://github.com/PokeWorld/PokeBot
Diffstat (limited to 'events')
-rw-r--r--events/channelCreate.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/events/channelCreate.js b/events/channelCreate.js
new file mode 100644
index 0000000..4319e3a
--- /dev/null
+++ b/events/channelCreate.js
@@ -0,0 +1,5 @@
+module.exports = (bot, channel) => {
+ if (channel.name.startsWith('gym-')) {
+ channel.setTopic('Current Owner: *none*');
+ }
+};