kennnyshiwa / kennnyshiwa-cogs Goto Github PK
View Code? Open in Web Editor NEWCogs for Red Discordbot
License: MIT License
Cogs for Red Discordbot
License: MIT License
So, the cog is just saying "Error in command 'ark'. Check your console or logs for details."
Here's the log:
[2021-12-25 11:16:08] [ERROR] red: Exception in command 'ark'
Traceback (most recent call last):
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 999, in _create_direct_connection
hosts = await asyncio.shield(host_resolved)
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 865, in _resolve_host
addrs = await self._resolver.resolve(host, port, family=self._family)
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\resolver.py", line 31, in resolve
infos = await self._loop.getaddrinfo(
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 821, in getaddrinfo
return await self.run_in_executor(
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\server\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\korkkiruuvi\cogs\CogManager\cogs\ark\ark.py", line 74, in ark
cpu_data = await self.do_lookup(query)
File "C:\Users\server\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\korkkiruuvi\cogs\CogManager\cogs\ark\ark.py", line 35, in do_lookup
async with session.get(base_url % query) as r:
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\client.py", line 1117, in aenter
self._resp = await self._coro
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\client.py", line 520, in _request
conn = await self._connector.connect(
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\server\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 1011, in _create_direct_connection
raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host odata.intel.com:443 ssl:default [getaddrinfo failed]
Hey,
I would like to see a global option to send the invites in a DM instead of in the server, what can be used to let the bot selfban him.
When I try to do [p]cog install kennnyshiwa-cogs imperialtoolkit
, I get Failed to install requirements: psutil
. I have psutil in the venv, and If I try to install with a sudo pip install pysutil
command, I get https://hastebin.com/okonuzudes.sql, and if I use [p]pipinstall psutil
I get https://hastebin.com/purononecu.php. This previously worked on my windows laptop, but when I try on an AWS ec2 ubuntu server, I get tons of errors.
Would it be possible to add a link to the channel the picture came from?
Possibly in the format of [channel Name]{direct link to post or just the overall channel}
The Gallery channel cannot be changed once it has been set for the first time.
The only way I was able to change the target channel was by stopping Red, navigating to the /Autogallery/settings.json, manually updating the channel information, and starting Red again.
Ideally, running the .gallerychannel command again would change the gallery channel to the newly specified channel
(Also, it would be nice to have multiple galleries per Guild)
Hey there, So we want to use requestbox in a way that also would require sending in images as we are kinda using it as a Severe bug gatherer so it would be helpful
[2021-04-12 16:13:24] [ERROR] red: Package loading failed
Traceback (most recent call last):
File "/root/redenv/lib/python3.8/site-packages/redbot/core/core_commands.py", line 171, in _load
await bot.load_extension(spec)
File "/root/redenv/lib/python3.8/site-packages/redbot/core/bot.py", line 1355, in load_extension
lib = spec.loader.load_module()
File "", line 462, in _check_name_wrapper
File "", line 962, in load_module
File "", line 787, in load_module
File "", line 265, in _load_module_shim
File "", line 702, in _load
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/.local/share/Red-DiscordBot/data/candy/cogs/CogManager/cogs/lastfm/init.py", line 1, in
from .lastfm import LastFM
File "/root/.local/share/Red-DiscordBot/data/candy/cogs/CogManager/cogs/lastfm/lastfm.py", line 217
async def _api_request(
^
IndentationError: expected an indented block
The ticket setup command has no limits on who can run the command. Ideally this should be limited to server admin.
Edited to add:
This is a potential security/privacy issue as the new roles and channels override the old ones. Also, inconvenient because there's a max limit on roles and channels, which could quickly be reached if a malicious user kept running the setup.
That doesn't appear to be a vaild request
is the result for every query
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.