give unique command name

This commit is contained in:
donkeydonkey 2021-03-30 09:40:55 -07:00 committed by GitHub
parent a10e4c32cb
commit 799f8d7dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def mempool(bot, trigger):
bot.say("Something borked o_O") bot.say("Something borked o_O")
@sopel.module.commands('lastblock') @sopel.module.commands('lastblock')
def mempool(bot, trigger): def lastblock(bot, trigger):
try: try:
r=requests.get(lastblock) r=requests.get(lastblock)
j=r.json() j=r.json()