isaacr100 / discord-pizza-ordering-bot Goto Github PK
View Code? Open in Web Editor NEWA Discord Bot that can order pizza and other stuff from Dominoes that uses the Pizzapi Python libraray
License: GNU General Public License v3.0
A Discord Bot that can order pizza and other stuff from Dominoes that uses the Pizzapi Python libraray
License: GNU General Public License v3.0
Ignoring exception in command store:
Traceback (most recent call last):
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/home/ori/Desktop/P-Boi/PizzaBot/pizzabot.py", line 73, in store
opn = pizzadata.storedata(ctx, st)
File "/home/ori/Desktop/P-Boi/PizzaBot/pizzadata.py", line 6, in storedata
address = Address(*addr.split(', '))
NameError: name 'Address' is not defined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 902, in invoke
await ctx.command.invoke(ctx)
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 864, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'Address' is not defined
Ignoring exception in command menu:
Traceback (most recent call last):
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/home/ori/Desktop/P-Boi/PizzaBot/pizzabot.py", line 86, in menu
menu = pizzadata.menudata(ctx, st)
File "/home/ori/Desktop/P-Boi/PizzaBot/pizzadata.py", line 14, in menudata
address = Address(*addr.split(', '))
NameError: name 'Address' is not defined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 902, in invoke
await ctx.command.invoke(ctx)
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 864, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/home/ori/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'Address' is not defined
I do not know how to fix this or where to even look.
I haven't gotten any help from asking on Stack Overflow or some discord servers.
Anything is helpful. (I am using Python3 as you can see)
Note: All of the other commands and functions appear to work just fine and it appears to store the info just fine without error as it shows up when you use the showme command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.