blob: 339a3b5630986c8f0ecb6a5808da25c1bcd90937 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/** **************************************
*
* ChannelCreate: Plugin for PokeBot that setups gyms when they are created.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
* Licensed under the Open Software License version 3.0
*
* *************************************/
module.exports = (bot, channel) => {
if (channel.name.startsWith('gym-')) {
channel.setTopic('Current Owner: *none*');
}
};
|