adjustments

This commit is contained in:
.[d]. 2021-03-06 16:50:43 -06:00
parent 89ceab6b4d
commit 9e284572bf

View File

@ -39,7 +39,7 @@ class Plugin(object):
greet = random.choice(list(open(greet_db)))
return greet
def __symbol(self:
def __symbol(self):
symbol_db = '%s/symbol.db' % dir_path
symbol = random.choice(list(open(symbol_db)))
return symbol
@ -65,8 +65,9 @@ class Plugin(object):
BOT=self.context
bots='___'.join(BOT.config['botnet']).strip().split('___')
for _ in bots:
if BOT.config[_]['nick'] == BOT.nick:
BID= _
if not BOT.config[_]['nick'] == 'bot':
if BOT.config[_]['nick'] == BOT.nick:
BID= _
MSG='{}: {} {} < {}'.format(NICK,SYMBOL,GREET,BID)
CHN='#sh0rtbus'
MSG = self._Plugin__emoj(MSG)