Obviously, it is called README, so you are reading me now
I made that one Discord bot which is probably better than MEE6, Tickets and Dyno, idk
You can find and talk to me at https://discord.gg/AlexFlipnote
๐บ A simple discord bot that helps you getting started within discord.py
Home Page: https://discord.gg/AlexFlipnote
License: MIT License
Obviously, it is called README, so you are reading me now
I made that one Discord bot which is probably better than MEE6, Tickets and Dyno, idk
You can find and talk to me at https://discord.gg/AlexFlipnote
I I took a small piece of code from http.py for my bot, and get error.
RuntimeWarning: coroutine 'ClientSession.close' was never awaited
Line 13 in 106cc68
Im using your aiohttp code, and every time i close my bot it tells me that close()
needs to be await it, but when i make it an async function it just doesnt get ran, how do i fix it or could you?
Getting
AttributeError: module 'discord' has no attribute 'Intents'
for most discord bots you can add case_insensitive=true and the bot won't be case sensitive, but because of how the bot is setup using the config.json file you can't
Whenever i try hosting my bot with a few code of this source code i get this error
well i rename utils to discord.utils thought it would work but didnt
if you could add me on discord and we discuss about it @sashank#7581 or join my test server for a while https://discord.gg/s8S8a3d
**PS C:\Users\Sasha\Desktop\Toxy Bot> & C:/Users/Sasha/AppData/Local/Programs/Python/Python38-32/python.exe "c:/Users/Sasha/Desktop/Toxy Bot/Toxy.py"
cogs.Information can not be loaded:
Traceback (most recent call last):
File "C:\Users\Sasha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 596, in _load_from_module_spec
spec.loader.exec_module(lib)
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "c:\Users\Sasha\Desktop\Toxy Bot\cogs\Information.py", line 9, in
from discord.utils import default
ImportError: cannot import name 'default' from 'discord.utils' (C:\Users\Sasha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\utils.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:/Users/Sasha/Desktop/Toxy Bot/Toxy.py", line 83, in
raise e
File "c:/Users/Sasha/Desktop/Toxy Bot/Toxy.py", line 80, in
client.load_extension(cog)
File "C:\Users\Sasha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 653, in load_extension
self._load_from_module_spec(spec, name)
File "C:\Users\Sasha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 599, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.Information' raised an error: ImportError: cannot import name 'default' from 'discord.utils' (C:\Users\Sasha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\utils.py)**
hi i did everything listed but the bot isn't coming online I did this on repl.it please respond soon
Hi !
I have follow the tutorial, and when i lauch the py :
File "index.py", line 25
bot.load_extension(f"cogs.{name}")
^
SyntaxError: invalid syntax
Thx
= {
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',
'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
'w', 'x', 'y', 'z', '0', '1', '2', '3',
'4', '5', '6', '7', '8', '9', '+', '/'
};
Cannot run program "cmd.exe": error=2, No such file or directory
I understand badly. i work on a MacOS
AttributeError: module 'discord.http' has no attribute 'API_VERSION'
HI,
I get thousands of errors in the log:
Error parsing AU headers
11:08:11 โ components/stream/worker.py (ERROR) - il messaggio si รจ verificato per la prima volta alle 10:08:45 e compare 6388 volte
Error parsing AU headers (repeated 12 more times)
11:08:11 โ components/stream/worker.py (ERROR) - il messaggio si รจ verificato per la prima volta alle 10:08:44 e compare 4300 volte
This causes the log fill up for several gb until homeassistant freeze in 2/3 days.
Source command has the same description as invite.
I use python 3.9.6, the bot will work?
Can you please add database (postgres) in this bot too?
Can somebody help, when i typed python3 index.py
it showed me this error:
[SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')]
Hello, I'm trying to run the bot, I'm doing whatever it takes. Bot starts but does not respond to commands. There are no errors in the console. When I stop the CTRL + C script, I have something like this
Task exception was never retrieved
future: <Task finished name='Task-9' coro=<AutoShardedConnectionState._delay_ready() done, defined at C:\Users\erwin\anaconda3\lib\site-packages\discord\state.py:1079> exception=AttributeError("'AutoShardedConnectionState' object has no attribute 'shard_id'")>
Traceback (most recent call last):
File "C:\Users\erwin\anaconda3\lib\site-packages\discord\state.py", line 1118, in _delay_ready
await utils.sane_wait_for(futures, timeout=timeout)
File "C:\Users\erwin\anaconda3\lib\site-packages\discord\utils.py", line 352, in sane_wait_for
raise asyncio.TimeoutError()
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\erwin\anaconda3\lib\site-packages\discord\state.py", line 1120, in _delay_ready
log.warning('Shard ID %s failed to wait for chunks (timeout=%.2f) for %d guilds', self.shard_id,
AttributeError: 'AutoShardedConnectionState' object has no attribute 'shard_id'```
Whats the point with having api tokens if you provide no documentation for them? And isnt this repo supposed to be for new coming users to dpy? i dont think having to find your api docs to use your dog / cat / etc commands is nice to have for new people.
no module name discord, but when I delete the import discord, the index.js syntax occurs?
Traceback (most recent call last): File "C:\Users\ow that is the other\Desktop\discordbotpy\index.py", line 51, in <module> bot.run(config.token) File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\client.py", line 598, in run return future.result() File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\client.py", line 579, in runner await self.start(*args, **kwargs) File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\client.py", line 543, in start await self.connect(reconnect=reconnect) File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\client.py", line 457, in connect await self._connect() File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\shard.py", line 274, in _connect f.result() File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\shard.py", line 78, in poll await self.ws.poll_event() File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\gateway.py", line 469, in poll_event await self.received_message(msg) File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\gateway.py", line 423, in received_message func(data) File "C:\Users\ow that is the other\AppData\Roaming\Python\Python38\site-packages\discord\state.py", line 409, in parse_message_reaction_add emoji = PartialEmoji.with_state(self, animated=emoji_data['animated'], id=emoji_id, name=emoji_data['name']) KeyError: 'animated' Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000020EDB233550> Traceback (most recent call last): File "C:\Python38\lib\asyncio\proactor_events.py", line 116, in __del__ self.close() File "C:\Python38\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "C:\Python38\lib\asyncio\base_events.py", line 711, in call_soon self._check_closed() File "C:\Python38\lib\asyncio\base_events.py", line 504, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed C:\Users\ow that is the other\Desktop\discordbotpy\utils\http.py:24: RuntimeWarning: coroutine 'ClientSession.close' was never awaited
When I type out help with the command reboot my bot when getting me these issues
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.