Giter VIP home page Giter VIP logo

fox-v3's People

Contributors

aikaterna avatar akubits avatar alexsludds avatar assassin0831 avatar bobloy avatar bogdanwdk avatar cool-aid-man avatar dannyb5544 avatar devilxd avatar elijabesu avatar flame442 avatar ianardo-dicaprio avatar imnotverygood avatar jackenmen avatar kreusada avatar leetfin avatar lifeismana avatar obi-wan3 avatar owocado avatar pabloleban avatar phenom4n4n avatar ryan5453 avatar scareddonut avatar sourcery-ai-bot avatar synrg avatar tobotimus avatar trustyjaid avatar vault108 avatar xargsuk avatar zephyrkul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fox-v3's Issues

Lovecalculator gives error upon using command

Trying to get the lovecalculator to work but every time i run the command i get the same issue
I installed BeautifulSoup thinking it would fix it but it didn't. Is the cog just outdated perhaps? Would love to see it work but from my tiny amount of coding knowledge i couldn't find any reason why it wouldn't work

[2020-06-16 15:04:09] [ERROR] red: Exception in command 'lovecalculator' Traceback (most recent call last): File "c:\programs\redenv\lib\site-packages\discord\ext\commands\core.py", line 83, in wrapped ret = await coro(*args, **kwargs) File "C:\Users\Kaval\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\bestbot\cogs\CogManager\cogs\lovecalculator\lovecalculator.py", line 30, in lovecalculator soup_object = BeautifulSoup(await response.text(), "html.parser") File "c:\programs\redenv\lib\site-packages\aiohttp\client_reqrep.py", line 1009, in text await self.read() File "c:\programs\redenv\lib\site-packages\aiohttp\client_reqrep.py", line 973, in read self._body = await self.content.read() File "c:\programs\redenv\lib\site-packages\aiohttp\streams.py", line 358, in read block = await self.readany() File "c:\programs\redenv\lib\site-packages\aiohttp\streams.py", line 380, in readany await self._wait('readany') File "c:\programs\redenv\lib\site-packages\aiohttp\streams.py", line 296, in _wait await waiter aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed

[Feature request] Chatter

Hello,

I just want request a few features for the V3 chatter.

  1. Option to let the bot learn from all servers and chats it can read.

  2. Option to assign a channel where it will reply without mention the bot. (It will be smarter sooner)

  3. Option to whitelist / blacklist a server so it will not learn things you do not want.

I hope you want implement those changes. I really miss them. The coder that made that in the changed V2 version does not want convert it for V3. I can provide the code if that is easier for you.

timerole in minutes/hours

Is it possible for timerole to use fractional days? I'm wanting to set up a stepped promotion system for new people with 5-10 minute increments.

Bug: Fifo list command spits out error

Tried running fifo list to see if I forgot to add a task when it failed to run today, instead of getting a list of my tasks and triggers I got this:

[2020-09-22 18:41:39] [ERROR] red: Exception in command 'fifo list' Traceback (most recent call last): File "/home/Sad/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped ret = await coro(*args, **kwargs) File "/home/Sad/.local/share/Red-DiscordBot/data/red/cogs/CogManager/cogs/fifo/fifo.py", line 309, in fifo_list await ctx.maybe_send_embed(out) File "/home/Sad/redenv/lib/python3.8/site-packages/redbot/core/commands/context.py", line 254, in maybe_send_embed return await self.send( File "/home/Sad/redenv/lib/python3.8/site-packages/redbot/core/commands/context.py", line 93, in send return await super().send(content=content, **kwargs) File "/home/Sad/redenv/lib/python3.8/site-packages/discord/abc.py", line 890, in send data = await state.http.send_message(channel.id, content, tts=tts, embed=embed, File "/home/Sad/redenv/lib/python3.8/site-packages/discord/http.py", line 245, in request raise HTTPException(r, data) discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body In embed.description: Must be 2048 or fewer in length.

Timerole (seemingly) errors when a member leaves before the operation finishes

Hey! I'm using timerole on a fairly large (50,000+ member) server, and as such, it takes a while to finish. I've noticed that occasionally it seems to error out before it finishes.

My best guess is that it's a result of someone leaving in the middle of the process in such a way that it expects them to be there when they aren't. Here's the traceback from an instance when it errored about 30 minutes after executing runtimerole:

Exception in command 'runtimerole'
Traceback (most recent call last):
  File "/home/red/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/red/.local/share/Red-DiscordBot/cogs/CogManager/cogs/timerole/timerole.py", line 39, in runtimerole
    await self.timerole_update()
  File "/home/red/.local/share/Red-DiscordBot/cogs/CogManager/cogs/timerole/timerole.py", line 161, in timerole_update
    await self.announce_roles(title, addlist, channel, guild, to_add=True)
  File "/home/red/.local/share/Red-DiscordBot/cogs/CogManager/cogs/timerole/timerole.py", line 171, in announce_roles
    await member.add_roles(role, reason="Timerole")
  File "/home/red/.local/lib/python3.8/site-packages/discord/member.py", line 641, in add_roles
    await req(guild_id, user_id, role.id, reason=reason)
  File "/home/red/.local/lib/python3.8/site-packages/discord/http.py", line 218, in request
    raise NotFound(r, data)
discord.errors.NotFound: 404 NOT FOUND (error code: 10007): Unknown Member

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/red/.local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 892, in invoke
    await ctx.command.invoke(ctx)
  File "/home/red/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 797, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/red/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 92, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NotFound: 404 NOT FOUND (error code: 10007): Unknown Member

QRInvite is not working

Here is a error of QRInvite cog when running [p]qrinvite command :

Traceback (most recent call last):
  File "/home/pi/Red/lib/python3.7/site-packages/discord/ext/commands/core.py", line 79, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/pi/Blezo/cogs/CogManager/cogs/qrinvite/qrinvite.py", line 63, in qrinvite
    eextention = pathlib.Path(image_url).parts[-1].replace(".", "?").split("?")[1]
  File "/home/pi/.pyenv/versions/3.7.2/lib/python3.7/pathlib.py", line 994, in __new__
    self = cls._from_parts(args, init=False)
  File "/home/pi/.pyenv/versions/3.7.2/lib/python3.7/pathlib.py", line 649, in _from_parts
    drv, root, parts = self._parse_args(args)
  File "/home/pi/.pyenv/versions/3.7.2/lib/python3.7/pathlib.py", line 633, in _parse_args
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not Asset

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/pi/Red/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 863, in invoke
    await ctx.command.invoke(ctx)
  File "/home/pi/Red/lib/python3.7/site-packages/discord/ext/commands/core.py", line 728, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/pi/Red/lib/python3.7/site-packages/discord/ext/commands/core.py", line 88, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: expected str, bytes or os.PathLike object, not Asset```

[ccrole] all commands get converted to lowercase and are now case sensitive.

BLUF:
when creating a command the command gets converted to lowercase, and will only be actioned if entered in lowercase by a user.

to reproduce:

user> [p]ccrole add CamelCaseCommandGoesHere
...
bot> Custom Command camelcasecommandgoeshere successfully added

issue:
Users are used to entering commands in camel case or without case, forcing everything to lower case means they have to relearn commands, and it can be confusing for some comands without camel case to seperate words. This is especially an issue for users with sight or learning/reading issues (both of which are an issue for my discord server).

expected behavour:
either the case that was used to create the command should be honoured, or the commands should NOT be case senseitve as per v2 version of ccrole.

lseen issue

When I was trying to Install Iseen, I got this error.

I typed: [p]cog install Fox lseen
Result: Failed to install the required libraries for lseen: python-dateutil

Logs (Red Bot Version: 3.1.2):

Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 360, in run
    prefix=options.prefix_path,
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 247, in move_wheel_files
    prefix=prefix,
  File "/usr/lib/python3/dist-packages/pip/locations.py", line 153, in distutils_scheme
    i.finalize_options()
  File "/usr/lib/python3.7/distutils/command/install.py", line 274, in finalize_options
    raise DistutilsOptionError("can't combine user with prefix, "
distutils.errors.DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base

[PlantTycoon] Bundled_data not existing

Exception during loading of cog
Traceback (most recent call last):
  File "/~/.pyenv/versions/3.6.6/lib/python3.6/site-packages/redbot/core/core_commands.py", line 96, in _load
    await bot.load_extension(spec)
  File "/~/.pyenv/versions/3.6.6/lib/python3.6/site-packages/redbot/core/bot.py", line 231, in load_extension
    lib.setup(self)
  File "/~/bot/cogs/CogManager/cogs/recyclingplant/__init__.py", line 7, in setup
    plant = RecyclingPlant(bot)
  File "/~/bot/cogs/CogManager/cogs/recyclingplant/recyclingplant.py", line 21, in __init__
    with open(self.junk_path) as json_data:
FileNotFoundError: [Errno 2] No such file or directory: '/~/bot/cogs/RecyclingPlant/bundled_data/junk.json'

I fixed it by creating bundled_data folder inside the cog's data folder and copy pasting junk.json from the repo path.

[AudioTrivia] Games list not working at all.

The anime list for audio trivia works most of the time with the occasional, no sound, completely stops working. The "games" list/category does not play any sound at all and never skips or continues. Tried on a completely fresh redbot install and same issue. No log errors.

[Plant Tycoon] Event plant added more than once

Every time [p]gardening seed is run a new instance of the current event plant is added to the list of possible seeds. This causes not only the event plant to be much more frequent than usual but can also lead to the list provided by [p]gardening plants to exceed the maximum length of an embed preventing the message from being sent.

Hangman cannot find hanganswers.txt

After successful repo add and cog install, I get this server log when trying to use hangman:

FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/.local/share/Red-DiscordBot/cogs/Hangman/bundled_data/hanganswers.txt'

Bot says:

Starting a game of hangman!
Error in command 'hangman'. Check your console or logs for details.

Running latest development version of DiscordRed.

[ccrole] make the added ccrole a toggle

Currently ccrole can add a role which users can use to add that role to themselves, but there is no option to remove the added selfrole from user. So i think that sending the same ccrole command should act as a toggle and should remove the selfrole from user if they have it.

[Chatter] Speed Issues

Issue to track updates with Chatter's main speed issues.

Larger data sets cause unacceptably long response times.

Red Update

After updating red planttycoon lo longer works giving the error code:

RuntimeError: The PlantTycoon cog in the planttycoon.planttycoon package does not inherit from the commands.Cog bas
e class. The cog author must update the cog to adhere to this requirement.

[stealemoji] not saving more then 50 emojis

I have a 100 emoji cap for both emojis and animated emojis and I get this error when I try to steal more then 50

Ignoring exception in on_reaction_add
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/discord/client.py", line 312, in _run_event
await coro(*args, **kwargs)
File "/root/.local/share/Red-DiscordBot/data/start/cogs/CogManager/cogs/stealemoji/stealemoji.py", line 266, in on_reaction_add
if await check_guild(guild, emoji):
File "/root/.local/share/Red-DiscordBot/data/start/cogs/CogManager/cogs/stealemoji/stealemoji.py", line 19, in check_guild
if len(guild.emojis) >= 100:
AttributeError: 'NoneType' object has no attribute 'emojis'

Time Role [seems to 'loop']

Have been meaning to ask if TimeRole could be changed to not 'loop', ie: for when the timerole is activated, 'onjoin', only or a toggle, and not when it's removed for whatever reason. As it's then re-applied at the moment, no matter how long the person has been in the server.

TIA.

InfoChannel Does Not Toggle OnlineCount or BotCount

The command infochannel set does not appear to actually toggle the OnlineCount or BotCount channels. Channels are not created even after cycling toggle, only Total Humans is displayed. Additionally, when switching InfoChannel on or off, the InfoChannelSet options are reset to disabled. They should instead preserve their settings.

Feature Request: Customizable Post Date

The ability to set the announcements to repeat on set days/times each week instead of every 24 hours would be very nice, if possible being able to set the day/time differently for each announcement needed.

Example:
Announcement 1 is posted every Tuesday at 5pm EST
Announcement 2 is posted every Saturday at 4pm EST

[StealEmoji] bot not saving emojis

getting this error when the bot tries to save the emoji.
Also is there a way to purge the list of emojis it has seen?

Ignoring` exception in on_reaction_add
Traceback (most recent call last):
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/discord/client.py", line 312, in _run_event
    await coro(*args, **kwargs)
  File "/home/pi/Bots/Red/cogs/CogManager/cogs/stealemoji/stealemoji.py", line 125, in on_reaction_add
    img = await fetch_img(session, emoji.url)
  File "/home/pi/Bots/Red/cogs/CogManager/cogs/stealemoji/stealemoji.py", line 12, in fetch_img
    async with session.get(url) as response:
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/aiohttp/client.py", line 1012, in __aenter__
    self._resp = await self._coro
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/aiohttp/client.py", line 380, in _request
    url = URL(str_or_url)
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/yarl/__init__.py", line 149, in __new__
    raise TypeError("Constructor parameter should be str")
TypeError: Constructor parameter should be str
Ignoring exception in on_reaction_add
Traceback (most recent call last):
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/discord/client.py", line 312, in _run_event
    await coro(*args, **kwargs)
  File "/home/pi/Bots/Red/cogs/CogManager/cogs/stealemoji/stealemoji.py", line 125, in on_reaction_add
    img = await fetch_img(session, emoji.url)
  File "/home/pi/Bots/Red/cogs/CogManager/cogs/stealemoji/stealemoji.py", line 12, in fetch_img
    async with session.get(url) as response:
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/aiohttp/client.py", line 1012, in __aenter__
    self._resp = await self._coro
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/aiohttp/client.py", line 380, in _request
    url = URL(str_or_url)
  File "/home/pi/.pyenv/versions/RedBotNoz/lib/python3.8/site-packages/yarl/__init__.py", line 149, in __new__
    raise TypeError("Constructor parameter should be str")
TypeError: Constructor parameter should be str

Timerole not adding roles

I seem to have set everything up properly and everything's up to date however its not applying any roles.

Audiotrivia not working with newest redbot versions

Im getting

[18/03/2019 00:13] ERROR events on_command_error 207: Exception in command 'audiotrivia' Traceback (most recent call last): File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\discord\ext\commands\core.py", line 79, in wrapped ret = await coro(*args, **kwargs) File "C:\Users\Admin\Desktop\obesin\cogs\CogManager\cogs\audiotrivia\audiotrivia.py", line 93, in audiotrivia notify = await self.audio.config.notify() File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\redbot\core\config.py", line 642, in __getattr__ return getattr(global_group, item) File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\redbot\core\config.py", line 241, in __getattr__ raise AttributeError("'{}' is not a valid registered Group or value.".format(item)) AttributeError: 'notify' is not a valid registered Group or value.

When trying to run !audiotrivia plab-games

Trying with the latest Redbot version (3.0.2)

How to run this bot? I am using windows.

Hi bro. Just wanna ask, how to run this bot on discord? Where do I put my Token and Server ID? Please help. :( I am not developer but this is a interesting bot. THANKS!

Howdoi issue

I installed howdoi, then when I loaded it, I got this message:
File "C:\Users\username\AppData\Local\Red-DiscordBot\Red-DiscordBot\cogs\CogManager\cogs\howdoi\__init__.py", line 1, in <module> from .howdoi import Howdoi File "C:\Users\username\AppData\Local\Red-DiscordBot\Red-DiscordBot\cogs\CogManager\cogs\howdoi\howdoi.py", line 5, in <module> from .utils.chat_formatting import pagify ModuleNotFoundError: No module named 'howdoi.utils'

[exclusiverole] Feature Request - Link roles for automatic removal

As mentioned in the support Discord...

When people join our community discord, they get the Guest role and they can then use react roles to show the games they like to play, which gives them a bunch of roles.

On top of that, we then allow them to click a react role to request membership, this allocates them the "Greenhorn" role. I would love to have the "Guest" role then be removed.

So Greenhorn and Guest would be the linked roles. Greenhorn removes Guest - but all other roles are left untouched

Thanks in advance :)

FIFO Load Problem

After loading the fifo cog I get told
"Failed to load the following package fifo"
"Check your console or logs for details"

[2020-10-18 15:51:57] [ERROR] red: Package loading failed
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/redbot/core/core_commands.py", line 170, in _load
await bot.load_extension(spec)
File "/usr/local/lib/python3.8/dist-packages/redbot/core/bot.py", line 1104, in load_extension
await lib.setup(self)
File "/root/.local/share/Red-DiscordBot/data/start/cogs/CogManager/cogs/fifo/init.py", line 7, in setup
await cog.initialize()
File "/root/.local/share/Red-DiscordBot/data/start/cogs/CogManager/cogs/fifo/fifo.py", line 79, in initialize
self.scheduler = AsyncIOScheduler(job_defaults=job_defaults, logger=schedule_log)
File "/usr/lib/python3/dist-packages/apscheduler/schedulers/base.py", line 87, in init
self.configure(gconfig, **options)
File "/usr/lib/python3/dist-packages/apscheduler/schedulers/base.py", line 126, in configure
self._configure(config)
File "/usr/lib/python3/dist-packages/apscheduler/schedulers/asyncio.py", line 48, in _configure
super(AsyncIOScheduler, self)._configure(config)
File "/usr/lib/python3/dist-packages/apscheduler/schedulers/base.py", line 697, in _configure
self.timezone = astimezone(config.pop('timezone', None)) or get_localzone()
File "/usr/lib/python3/dist-packages/tzlocal/unix.py", line 165, in get_localzone
_cache_tz = _get_localzone()
File "/usr/lib/python3/dist-packages/tzlocal/unix.py", line 58, in _get_localzone
androidtz = subprocess.check_output(['getprop', 'persist.sys.timezone']).strip().decode()
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'getprop'

lseen - not working properly on RED v3.1

Haven't seen it being reported yet, but apparently lseen isn't working on RED v3.1 properly. It works when those are online, but for those who were online and then offline, lseen them will show up as never seen this user:

image

hangman game errorr

Bot says:
Starting a game of hangman!
Error in command 'hangman'. Check your console or logs for details.

StealEmoji Error

Getting this error when a reaction is set:

[11/10/2018 22:48] ERROR events on_error 188: Exception in reaction_add
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/discord/client.py", line 225, in _run_event
    await coro(*args, **kwargs)
  File "/data/cogs/CogManager/cogs/stealemoji/stealemoji.py", line 147, in on_reaction_add
    e_dict = vars(emoji)
TypeError: vars() argument must have __dict__ attribute

Chatterbot and pyyaml dependencies

When trying to load the chatter cog, get the below error in console:

red-discordbot 3.1.5 has requirement PyYAML==5.1.1, but you'll have pyyaml 3.13 which is incompatible.

Chatterbot always responds with the default ๐Ÿค” emoji indicating a default response. It has once responded with an actual sentence.

Is this error affecting anything?

[TimeRole] Ehancement

Cog

TimeRole

Command

[p]timerole addrole/removerole

Ehancement

Including hours as an option for waiting after user has entered the server and/or the possibility to combine the time values.
[p]timerole addrole "I Am Role" 1h
[p]timerole removerole "I Am Role" 2d5h

Why

I feel like for some servers my bot is in with this cog, hours would be more optimal than waiting the lowest time of 1 day.

[QRInvite] Error When Creating QR Code

Exception in command 'qrinvite'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 79, in wrapped
    ret = await coro(*args, **kwargs)
  File "/app/cogs/CogManager/cogs/qrinvite/qrinvite.py", line 66, in qrinvite
    image_path = path / (ctx.guild.icon + "." + extension)
NameError: name 'extension' is not defined

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 863, in invoke
    await ctx.command.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 728, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 88, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'extension' is not defined

[Chatter Load issues] Failed to load the following package: chatter

When i try to load chatter i get the following error in the console
[2020-08-02 20:29:34] [ERROR] red: Package loading failed Traceback (most recent call last): File "/home/ubuntu/redenv/lib/python3.8/site-packages/redbot/core/core_commands.py", line 119, in _load await bot.load_extension(spec) File "/home/ubuntu/redenv/lib/python3.8/site-packages/redbot/core/bot.py", line 929, in load_extension lib = spec.loader.load_module() File "<frozen importlib._bootstrap_external>", line 462, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 962, in load_module File "<frozen importlib._bootstrap_external>", line 787, in load_module File "<frozen importlib._bootstrap>", line 265, in _load_module_shim File "<frozen importlib._bootstrap>", line 702, in _load File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/ubuntu/.local/share/Red-DiscordBot/data/discord/cogs/CogManager/cogs/chatter/__init__.py", line 1, in <module> from .chat import Chatter File "/home/ubuntu/.local/share/Red-DiscordBot/data/discord/cogs/CogManager/cogs/chatter/chat.py", line 6, in <module> from chatterbot import ChatBot ModuleNotFoundError: No module named 'chatterbot'

Chatter Error when using Redbot 3.3.9.

I am running Redbot 3.3.9 and Discord.py 1.3.3 and my python version is 3.8.3.
Whenever I try running chatter I get the error

time_func = time.clock
AttributeError: module 'time' has no attribute 'clock'

Which from what I read is because the time it was written it used the depreciated clock() function,

[InfoChannel] Ratelimit don't exist

InfoChannel is an useful cog, however, Discord decided to make it slower.

A ratelimit has been implemented and Discord now limit 2 modifications per 10 minutes (1 added again in 5 minutes) and per channels.
As I saw, the cog doesn't limit the usage, and peoples will start getting ratelimit error(s).

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.