Giter VIP home page Giter VIP logo

jet-bot's People

Contributors

jetsurf avatar xlatb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jet-bot's Issues

ACNH Passports Broken

Nintendo changed something with their endpoint for ACNH

400 {
  "code": "3001"
}

This is the only thing that ever returns

Ordering from storeDM broken

Task exception was never retrieved
future: <Task finished coro=<nsoHandler.handleDM() done, defined at ./modules/nsohandler.py:107> exception=KeyError('merchandises')>
Traceback (most recent call last):
File "./modules/nsohandler.py", line 134, in handleDM
await self.orderGear(resp, order=5)
File "./modules/nsohandler.py", line 531, in orderGear
gearToBuy = thejson['merchandises'][int(orderID)]
KeyError: 'merchandises'

NSO f Token Needed

Placeholder to fix the f token issue introduced in the 1.4.1 -> 1.5.0 NSO App update.

Admin commands broken

Admin (and by extension, owner) commands are broken. This is due to the intents gateway now being restricted. The public bot hosted by myself is not whitelisted (as told by discord support during verification). Am working with discord support to get it it whitelisted, however, this is a slow process.

Bug in ordering gear

  File "/usr/local/lib/python3.7/site-packages/discord/client.py", line 317, in _run_event
    await self.on_error(event_name, *args, **kwargs)
  File "/home/discordbot/discordbot/bot.py", line 231, in on_error
    raise exc[1]
  File "/usr/local/lib/python3.7/site-packages/discord/client.py", line 312, in _run_event
    await coro(*args, **kwargs)
  File "/home/discordbot/discordbot/bot.py", line 411, in on_message
    await nsoHandler.orderGear(message, args=args)
  File "./modules/nsohandler.py", line 559, in orderGear
    embed = self.makeGearEmbed(ordered, message.author.name + ", you already have an item on order!", "Respond with 'yes' to replace your order, 'no' to cancel")
  File "./modules/nsohandler.py", line 489, in makeGearEmbed
    embed.set_thumbnail(url='https://splatoon2.ink/assets/splatnet' + gear['gear']['image'])
TypeError: 'NoneType' object is not subscriptable

Checking for causes

/admin playlist not working in some cases

The /admin playlist command can fail to add a URL with this exception:

Traceback (most recent call last):
  File "/home/dbot/dbot-prod-venv/lib/python3.9/site-packages/discord/commands/commands.py", line 81, in wrapped
    ret = await coro(arg)
  File "/home/dbot/dbot-prod-venv/lib/python3.9/site-packages/discord/commands/commands.py", line 488, in _invoke
    await self.callback(ctx, **kwargs)
  File "/home/dbot/dbot/bot.py", line 522, in cmdPlaylistAdd
    await serverVoices[ctx.guild.id].addGuildList(ctx, [ url ])
  File "./modules/vserver.py", line 329, in addGuildList
    elif 'https' not in args[1]:
IndexError: list index out of range

Need to investigate the cause and will have this corrected for the next PR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.