diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-25 11:52:49 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-25 11:52:49 -0500 |
| commit | fb24fdcadd13beee78f8e89d293e31764a7c059d (patch) | |
| tree | 898da10c1871eb05743df21b9cfda611fad8e736 | |
| parent | f408263a6e35d7bef54ea9bf1c689cdf5fe90a31 (diff) | |
| download | PokeBot-fb24fdcadd13beee78f8e89d293e31764a7c059d.tar.gz PokeBot-fb24fdcadd13beee78f8e89d293e31764a7c059d.tar.bz2 PokeBot-fb24fdcadd13beee78f8e89d293e31764a7c059d.zip | |
automation
| -rw-r--r-- | events/channelCreate.js | 5 |
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*'); + } +}; |
