#dev-log

1 messages · Page 53 of 1

north knotBOT
ebon magnetBOT
#

Build 20200921.12 succeeded

Requested by

GitHub

Duration

00:04:49

Build pipeline

Bot

oak estuaryBOT
regal archBOT
north knotBOT
#
Auto-deployed: metricity
regal archBOT
ebon magnetBOT
#

Build 20200921.13 succeeded

Requested by

GitHub

Duration

00:03:22

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200921.1 succeeded

Requested by

GitHub

Duration

00:02:36

Build pipeline

Site

ebon magnetBOT
#

Build 20200921.29 succeeded

Requested by

GitHub

Duration

00:00:55

Build pipeline

Seasonal Bot

#

Build 20200921.30 succeeded

Requested by

GitHub

Duration

00:01:03

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20200921.31 succeeded

Requested by

GitHub

Duration

00:00:58

Build pipeline

Seasonal Bot

regal archBOT
#

81711d7 Created file for moderation utils tests + added... - ks129
1549690 (Moderation Utils Tests): Added imports, modifi... - ks129
fa6a0ae (Moderation Utils Tests): Created tests for ha... - ks129 [98f7a37](https://github.com/python-discord/bot/commit/98f7a3777152b32bfda24f9d5add938479827c85) (Moderation Utils Tests): Created tests for no... - ks129
4a746fc (Moderation Utils Tests): Created tests for `no... - ks129

#
[python-discord/bot] branch deleted: feat/backend/217/has\_any\_role
ebon magnetBOT
#

Build 20200921.14 succeeded

Requested by

GitHub

Duration

00:03:01

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20200921.15 succeeded

Requested by

GitHub

Duration

00:03:59

Build pipeline

Bot

oak estuaryBOT
north knotBOT
ebon magnetBOT
#

Build 20200921.16 succeeded

Requested by

GitHub

Duration

00:05:08

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] branch deleted: bug/1142/fix\-everyone\-ping
north knotBOT
ebon magnetBOT
#

Build 20200921.17 succeeded

Requested by

GitHub

Duration

00:04:58

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] New branch created: feat/latency
ebon magnetBOT
#

Build 20200922.1 succeeded

Requested by

GitHub

Duration

00:03:29

Build pipeline

Bot

regal archBOT
#

81711d7 Created file for moderation utils tests + added... - ks129
1549690 (Moderation Utils Tests): Added imports, modifi... - ks129
fa6a0ae (Moderation Utils Tests): Created tests for ha... - ks129 [98f7a37](https://github.com/python-discord/bot/commit/98f7a3777152b32bfda24f9d5add938479827c85) (Moderation Utils Tests): Created tests for no... - ks129
4a746fc (Moderation Utils Tests): Created tests for `no... - ks129

ebon magnetBOT
#

Build 20200922.2 succeeded

Requested by

GitHub

Duration

00:02:47

Build pipeline

Bot

regal archBOT
#

409f0b5 Determine eligible duckpond emojis dynamically - SebastiaanZ
3fea325 Ignore non-staff messages for our duckpond - SebastiaanZ
9410194 Add channel blacklist for duckpond - SebastiaanZ
d68d6d2 Fix relay race condition in duckpond using a lock - SebastiaanZ
0c5c472 Remove unit tests for duck pond - SebastiaanZ

#
[python-discord/bot] branch deleted: sebastiaan/bugs/duckpond
north knotBOT
ebon magnetBOT
#

Build 20200922.3 succeeded

Requested by

GitHub

Duration

00:04:33

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#

After having a thought about this proposal, I came up with the following possible implementation (some details pending).

Schema
image

Each action taken related to an infraction will be given a new entry in infraction_activity with a relevant action type, such as:
creation, pardon, expiry_edit, reason_edit, voiding, unvoiding

As we don't store expiry values in activities,...

regal archBOT
#

Regarding active, we do need a partial unique index on that column together with the user to ensure they only have one active infraction of that type. Granted, this could be implemented at the API-level, but I think it's more efficient to rely on a constraint failure than to pre-emptively query to ensure there isn't an active infraction already. Also, doing stuff at the db-level is nice when possible, even if we don't necessarily interact with the DB outside of DRF (select queries for stats...

ebon magnetBOT
#

Build 20200922.7 succeeded

Requested by

GitHub

Duration

00:02:48

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
#

Description

When using the .snake video command, no response is given by the bot. This is the error message received from a local test bot:

09/21/20 23:40:12 - bot.exts.evergreen.snakes._snakes_cog ERROR: Unhandled tag command error: Command raised an exception: TypeError: Invalid variable type: value should be str or int, got None of type  (Invalid variable type: value should be str or int, got None of type )

This is most likely the result of an API change or similar, resulting...

regal archBOT
#

What are codespaces?

In their latest Satellite, GitHub announced the launch of Codespaces, an online development environment running VSC, fully integrated with GitHub. As the time of writing this, the feature is in public beta. You can read more about it here.

What needs to be done?

I’ve tried this recently to review a PR, it was pretty great, although some manual setup was still required, like installing pipenv, syncing it and installi...

#

What are codespaces?

In their latest Satellite, GitHub announced the launch of Codespaces, an online development environment running VSC, fully integrated with GitHub. As the time of writing this, the feature is in public beta. You can read more about it here.

What needs to be done?

I’ve tried this recently to review a PR, it was pretty great, although some manual setup was still required, like installing pipenv, syncing it and installi...

#

What are codespaces?

In their latest Satellite, GitHub announced the launch of Codespaces, an online development environment running VSC, fully integrated with GitHub. As the time of writing this, the feature is in public beta. You can read more about it here.

What needs to be done?

I’ve tried this recently, it was pretty great, although some manual setup was still required, like installing pipenv, syncing it and installing `docker-comp...

ebon magnetBOT
#

Build 20200922.1 succeeded

Requested by

GitHub

Duration

00:01:04

Build pipeline

Seasonal Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200922.2 succeeded

Requested by

GitHub

Duration

00:02:33

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200922.3 succeeded

Requested by

GitHub

Duration

00:00:58

Build pipeline

Seasonal Bot

regal archBOT
#

Description

An .emojicount command can be used to display the categorical emoji count in the server through an embed.

Reasoning

Due to recent changes as to how emojis in the server in the server are categorized with prefixes, implementing such a command would be fairly trivial.

Proposed Implementation

An .emojicount command can be invoked with zero or more categories. For every category requested, each line in the embed would consist of the following format:

ebon magnetBOT
#

Build 20200922.4 succeeded

Requested by

GitHub

Duration

00:01:03

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/branding] New branch created: decorator\-factory\-\-upload\-duckybear
#
[python-discord/branding] branch deleted: decorator\-factory\-\-upload\-duckybear
#

81711d7 Created file for moderation utils tests + added... - ks129
1549690 (Moderation Utils Tests): Added imports, modifi... - ks129
fa6a0ae (Moderation Utils Tests): Created tests for ha... - ks129 [98f7a37](https://github.com/python-discord/bot/commit/98f7a3777152b32bfda24f9d5add938479827c85) (Moderation Utils Tests): Created tests for no... - ks129
4a746fc (Moderation Utils Tests): Created tests for `no... - ks129

ebon magnetBOT
#

Build 20200922.8 succeeded

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

regal archBOT
#

here are some rough benchmarks of the API changes coming in this PR
Creating 1000 users(bulk).
0.39 seconds

Creating 10000 users(bulk).
3.14 seconds

Updating 1000 users all in 1 SQL query.
0.74 seconds

Updating 10000 users all in 1 SQL query.
14.67 seconds

Updating 10000 users by updating 1000 users in 1 SQL query.
7.12 seconds

Updating 10000 users by updating 2000 users in 1 SQL query.
6.78 seconds

Looks like 2000 users in 1 SQL query is the sweet spot.

#

fc05849 Use async-rediscache package for our redis caches - SebastiaanZ
de4a8d9 Remove vestigial RedisCache class definition - SebastiaanZ
9bb3a48 Use global namespace bot for our RedisSession - SebastiaanZ
1b2c115 Merge branch 'master' into sebastiaan/features/... - SebastiaanZ
6fc9ed3 Merge pull request #1163 from python-discord/se... - SebastiaanZ

#
[python-discord/bot] branch deleted: sebastiaan/features/use\-async\-rediscache\-package
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20200922.9 succeeded

Requested by

GitHub

Duration

00:05:40

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20200922.5 succeeded

Requested by

GitHub

Duration

00:01:08

Build pipeline

Seasonal Bot

regal archBOT
#

I suggest the following method for getting the zodiac sign as per month and date.
Have a DICT to store the starting and ending datetime objects of a zodiac sign
example:
zodiacs = { "Aquarius":(datetime(2020, 1, 20), datetime(2020, 2, 18)) }
You can create a new datetime() object with the month and date passed by the user.
Then, you can check if that datetime() object is in between the starting and ending dates as specified in the dict.
lets call the datetime() object created with t...

ebon magnetBOT
#

Build 20200922.6 succeeded

Requested by

GitHub

Duration

00:01:02

Build pipeline

Seasonal Bot

regal archBOT
#

Currently if I want to get information about the zodiac sign Libra, I will have to do .partnerzodiac zodiac libra. I feel that just .zodiac libra will be a better choice instead and have partnerzodiac as a subcommand.

The structure I am proposing is:

Group Zodiac
  • provides information about zodiac sign by taking zodiac sign name as input.
  • provides information about zodiac sign by taking month and date as input.
SubCommand partnerzodiac
  • provides a coun...
regal archBOT
regal archBOT
#

The roles count <-- snip --> description "header" would be more fitting for it?

That's a good idea, and it would make some code a tad bit clearer.

Are the features necessary for the (user) embed?

By features I assume you mean the server features in the embed description. I agree, it gets quite long in the actual server.

@python-discord/core-developers I'll be removing the features section from the embed outside of a moderation channel if no one has an objection to it.

ebon magnetBOT
#

Build 20200922.10 failed

Requested by

GitHub

Duration

00:02:19

Build pipeline

Bot

#

Build 20200922.7 failed

Requested by

GitHub

Duration

00:01:01

Build pipeline

Seasonal Bot

#

Build 20200922.8 succeeded

Requested by

GitHub

Duration

00:01:01

Build pipeline

Seasonal Bot

#

Build 20200922.10 succeeded

Requested by

GitHub

Duration

00:01:04

Build pipeline

Seasonal Bot

#

Build 20200922.11 failed

Requested by

GitHub

Duration

00:02:23

Build pipeline

Bot

#

Build 20200922.11 succeeded

Requested by

GitHub

Duration

00:01:05

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200922.12 succeeded

Requested by

GitHub

Duration

00:00:47

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20200922.12 succeeded

Requested by

GitHub

Duration

00:03:36

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20200922.13 succeeded

Requested by

GitHub

Duration

00:05:01

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/bot] branch deleted: feat/latency
night lilyBOT
#
SeasonalBot

Connected!

north knotBOT
ebon magnetBOT
#

Build 20200922.13 succeeded

Requested by

GitHub

Duration

00:05:01

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20200922.14 succeeded

Requested by

GitHub

Duration

00:02:57

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200922.15 failed

Requested by

GitHub

Duration

00:02:21

Build pipeline

Bot

ebon magnetBOT
#

Build 20200922.16 failed

Requested by

GitHub

Duration

00:02:43

Build pipeline

Bot

regal archBOT
regal archBOT
#

See the commit message

datetime.timestamp() assumes naïve datetimes are in local time, so
getting POSIX timestamps in UTC isn't easy for naïve ones. Technically,
the timestamp's timezone doesn't matter if all code is on the same page
and parsing it with the same timezone. Keeping it in the local timezone
would be okay then, but I feel safer locking it to UTC explicitly.

Any reason for the parentheses here?

No, they can be removed.

#

Do manual per channel overwrites for the roles happen at all to be worth accounting for in the command and not resetting them to None?

I'm not sure, but I accounted for it for the sake of thoroughness. My thinking is that if it is set manually, the intention may be more permanent than what silence/unsilence does. Therefore, I didn't want to give a false impression by allowing !unsilence to undo such case.

#

81711d7 Created file for moderation utils tests + added... - ks129
1549690 (Moderation Utils Tests): Added imports, modifi... - ks129
fa6a0ae (Moderation Utils Tests): Created tests for ha... - ks129 [98f7a37](https://github.com/python-discord/bot/commit/98f7a3777152b32bfda24f9d5add938479827c85) (Moderation Utils Tests): Created tests for no... - ks129
4a746fc (Moderation Utils Tests): Created tests for `no... - ks129

ebon magnetBOT
#

Build 20200922.17 succeeded

Requested by

GitHub

Duration

00:02:45

Build pipeline

Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200922.18 succeeded

Requested by

GitHub

Duration

00:02:59

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: feat/frontend/533/mod\-log\-names
north knotBOT
ebon magnetBOT
#

Build 20200922.19 succeeded

Requested by

GitHub

Duration

00:04:22

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20200922.20 succeeded

Requested by

GitHub

Duration

00:02:31

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: feat/info/1125/user\-cmd\-whitelist\-modmail
north knotBOT
ebon magnetBOT
#

Build 20200922.21 succeeded

Requested by

GitHub

Duration

00:04:23

Build pipeline

Bot

oak estuaryBOT
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200923.1 succeeded

Requested by

GitHub

Duration

00:04:28

Build pipeline

Bot

oak estuaryBOT
regal archBOT
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200923.2 succeeded

Requested by

GitHub

Duration

00:04:14

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20200923.3 failed

Requested by

GitHub

Duration

00:02:27

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200923.4 succeeded

Requested by

GitHub

Duration

00:02:59

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: filtering\-revamp
regal archBOT
#

Using the constant improves readability for me as well. I think the main thing that looks "weird", is the combination of an escaped slash with an f-string placeholder. It looks like there's much more going on than just creating a string with a backslash and a grave accent.

Maybe turning into a raw f-string would help, although I have no strong opinion on that:

# with constant
valid_ticks = fr"\{parsing.BACKTICK}" * 3
# without constant
valid_ticks = fr"\`" * 3
north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20200923.1 succeeded

Requested by

GitHub

Duration

00:01:02

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
#

Motivation

Currently, the only way to amend an infraction reason is to search and copy the original reason before invoking

!infr edit (last|infr_id) {old_reason} (Edit|Context): {amended_reason}

An infr subcommand that abstracts this action would allow for a nicer interface, at least in my opinion, especially for amending infractions that were needed to be handed out quickly.

Proposed Implementation

A subcommand that's similar in form to infraction_edit to be called...

regal archBOT
ebon magnetBOT
#

Build 20200923.5 succeeded

Requested by

GitHub

Duration

00:02:54

Build pipeline

Bot

regal archBOT
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200923.6 succeeded

Requested by

Joseph Banks

Duration

00:04:24

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] branch deleted: kwzrd/fix\-1095
regal archBOT
#
[python-discord/bot] New branch created: kwzrd/log\-levels
ebon magnetBOT
#

Build 20200923.7 succeeded

Requested by

GitHub

Duration

00:02:53

Build pipeline

Bot

ebon magnetBOT
#

Build 20200923.2 succeeded

Requested by

GitHub

Duration

00:00:58

Build pipeline

Seasonal Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200923.8 succeeded

Requested by

GitHub

Duration

00:04:29

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#

This issue is required for the development of the issue on the bot repo:

The system will require two new tables: User Events and Scheduled Events

User Events

Fields

  • Name (primary key)
  • Owner (user ID)
  • Subscriptions (many-to-many field of users)

Operations

  • Add a new event record
  • Add a user to the subs field
  • Query subs by name.
  • Remove a user from the subs field
  • Remove an event

Scheduled Events

Fields

  • Event name (foreign key)
    *...
#

I present a design for a full system for managing user events. It will hopefully allow us to accommodate and invite more users to organize their own events, and to properly make use of the new User Events voice channel.

This issue should be implemented alongside the related issue in the site repository site/issues/396

Current State

With the recent changes in the voice channels, we repurposed the Games channel to a `User Events...

ebon magnetBOT
#

Build 20200923.9 succeeded

Requested by

GitHub

Duration

00:02:52

Build pipeline

Bot

regal archBOT
#

I'd rather have all this processing done within format_log_message, but unfortunately this function needs to know when to ping everyone. I think a cleaner way is to create a separate function to generate the additional log message for the user. The two log messages will be combined here, which will allow you to determine ping_everyone by checking if the returned log message is an empty string.

#
[python-discord/bot] branch deleted: kwzrd/log\-levels
north knotBOT
ebon magnetBOT
#

Build 20200923.10 succeeded

Requested by

GitHub

Duration

00:04:38

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#

modify code to work on all platforms,
fix grammatical errors

Relevant Issues

Closes #422

Description

I added spaces between the letters at the top of the board,
I changed "Here's there board" to "Here's their board"

Reasoning

The spaces ensured that the top characters on the board looked as expected on ios devices
The grammar fix aids better understanding of the bot's message

Screenshots

iphone 8 demo of change to the board

![image](https://user-...

ebon magnetBOT
#

Build 20200924.1 succeeded

Requested by

GitHub

Duration

00:01:06

Build pipeline

Seasonal Bot

regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20200924.2 succeeded

Requested by

GitHub

Duration

00:00:55

Build pipeline

Seasonal Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200924.3 succeeded

Requested by

GitHub

Duration

00:03:13

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
#
[python-discord/seasonalbot] New branch created: update\-pillow
regal archBOT
ebon magnetBOT
#

Build 20200924.4 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/bot] New branch created: pure/feature/infraction\-append
regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200924.5 succeeded

Requested by

GitHub

Duration

00:00:53

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200924.6 succeeded

Requested by

GitHub

Duration

00:01:03

Build pipeline

Seasonal Bot

regal archBOT
#

Whenever members ask about how many people have certain roles or what role is highest in the role hierarchy, there's currently no way for helpers to find out, other than asking the rest of staff.

We should allow helpers to use the !role command. I can't see any real harm in it, for that sake, and it would make sense to let helpers help with such things.

ebon magnetBOT
#

Build 20200924.7 succeeded

Requested by

GitHub

Duration

00:01:00

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
#

I'm not opposed to opening up the permissions to regular users. I don't think there's anything particularly sensitive in there, although we do have some roles we don't advertise. (Everything's available using the API, though; regular users just shouldn't be able to see it using an unmodified Discord client.)

There's one thing, though: regular users should have more stringent restrictions. I don't think regular users should be able to specify multiple roles at once (as this will generate a ...

ebon magnetBOT
#

Build 20200924.8 failed

Requested by

GitHub

Duration

00:00:54

Build pipeline

Seasonal Bot

regal archBOT
#

It seems like help is actually sent in embeds, where markdown is supported. This is how it looks with \:
<img width="464" alt="Screenshot 2020-09-24 at 19 18 40" src="https://user-images.githubusercontent.com/65498475/94177991-c44caf00-fe9a-11ea-8734-13dfec504a5f.png">
Without \:
<img width="453" alt="Screenshot 2020-09-24 at 19 18 27" src="https://user-images.githubusercontent.com/65498475/94177974-bd25a100-fe9a-11ea-9c08-db0458e5cd8f.png">

ebon magnetBOT
#

Build 20200924.9 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20200924.10 succeeded

Requested by

GitHub

Duration

00:00:57

Build pipeline

Seasonal Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200924.11 succeeded

Requested by

GitHub

Duration

00:03:56

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
#

instead of creating the datetime objects on each call, you can create them and store them in self.zodiac_fact when you are loading the JSON.
you can do this after you load zodiac fact after line 41

from datetime import date
zodiac_fact = load(json_data)  # after this line
for values in zodiac_fact.values():
    values["start_at"] = date.fromisoformat(values["start_at"])
    values["end_at"] = date.fromisoformat(values["end_at"])

this will store all the date objects on...

regal archBOT
#

This tag is different from the existing tags we have. All of our other tags are either directly related to the community (e.g. off-topic and modmail) or touch upon Python concepts. The way this tag is worded feels a bit out of scope for our tag system.

If we want to have a tag that is specifically meant to be used when people ask for programming servers in other languages, I'd focus the tag on that instead of presenting it as a more disconnected "looking to join more servers? look here...

regal archBOT
ebon magnetBOT
#

Build 20200924.1 succeeded

Requested by

GitHub

Duration

00:02:57

Build pipeline

Bot

regal archBOT
#

Use case/rationale

Sometimes, users don't remember which help channel is theirs. Other times, they simply wanna look back at the old help channel threads and review what was said.

Proposed solution

DM users when opening a help channels. The following info would be included:

  1. Help channel name
  2. Preview of first message sent
  3. "Jump to message" link

(1) Would allow them to quickly look up the channel name or remind themselves what channel was claimed, without necessarily going the...

regal archBOT
#

What recourse will someone have if they do not want to receive these messages? A significant number of people have expressed that they have trouble remembering the channel names (more so those giving help than those receiving it), but would they all be willing to accept DMs as a solution?

Personally, I'd write down the name if I had trouble remembering; I don't think it's too much to ask of others to do the same. Furthermore, there's the search feature in Discord. I find it hard to belie...

regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200925.2 failed

Requested by

GitHub

Duration

00:02:09

Build pipeline

Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200925.12 failed

Requested by

GitHub

Duration

00:00:50

Build pipeline

Seasonal Bot

#

Build 20200925.11 failed

Requested by

GitHub

Duration

00:00:48

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200925.13 succeeded

Requested by

GitHub

Duration

00:00:54

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200925.3 succeeded

Requested by

GitHub

Duration

00:02:50

Build pipeline

Bot

regal archBOT
regal archBOT
regal archBOT
#

201efc9 Add feature to token_remover: log detected user... - bast0006
83e1762 Make token_remover check basic HMAC validity (n... - bast0006
1ec17d0 Merge branch 'master' into feature-bast-user-to... - bast0006
1b38ad4 Implement review-suggested changes - bast0006
b62db24 Add BOT vs USER token detection, properly handl... - bast0006

north knotBOT
ebon magnetBOT
#

Build 20200925.4 succeeded

Requested by

GitHub

Duration

00:04:44

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20200925.5 failed

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

#

Build 20200925.14 succeeded

Requested by

GitHub

Duration

00:00:55

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
#

This PR adds support for embed-suppressed link syntax to the .bm command. Without this PR, running the command:

.bm  Test

fails with an unhelpful error message:

While this particular error doesn't display what exactly went wrong, doing the following makes it clearer:

The discord.Message converter is not handling the <> and [] wrapping syntax.

I've implemented a BetterMessageConverter in bot.utils.converters that unwraps [], <>, and [<>] from the argument before att...

#

Thank you for contributing to Python Discord!

Please check out the following documents:

ebon magnetBOT
#

Build 20200925.15 failed

Requested by

GitHub

Duration

00:00:49

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
regal archBOT
#

I made the changes you mentioned, but I'm having a lot of issues with getting it to run. I'm using an Anaconda env and despite installing arrow, I keep getting a ModuleNotFoundError when I do pipenv run start. It used to work completely fine the last time I'd made a commit.
However, I was on Ubuntu 19.04 back then. Current is 20.04. Also, haven't used Ubuntu for the better part of 5 months now on my dual-booted laptop. Any suggestions as to what could be wrong?

regal archBOT
ebon magnetBOT
#

Build 20200925.16 succeeded

Requested by

GitHub

Duration

00:00:56

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200926.1 succeeded

Requested by

GitHub

Duration

00:03:05

Build pipeline

Bot

ebon magnetBOT
#

Build 20200926.2 failed

Requested by

GitHub

Duration

00:02:45

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20200926.2 succeeded

Requested by

GitHub

Duration

00:00:50

Build pipeline

Seasonal Bot

#

Build 20200926.1 succeeded

Requested by

GitHub

Duration

00:00:56

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200926.3 failed

Requested by

GitHub

Duration

00:00:58

Build pipeline

Bot

#

Build 20200926.4 failed

Requested by

GitHub

Duration

00:02:43

Build pipeline

Bot

#

Build 20200926.5 succeeded

Requested by

GitHub

Duration

00:03:06

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200926.3 succeeded

Requested by

GitHub

Duration

00:01:01

Build pipeline

Seasonal Bot

#

Build 20200926.4 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200926.6 failed

Requested by

GitHub

Duration

00:00:41

Build pipeline

Bot

#

Build 20200926.7 succeeded

Requested by

GitHub

Duration

00:02:32

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200926.5 succeeded

Requested by

GitHub

Duration

00:00:58

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200926.8 failed

Requested by

GitHub

Duration

00:00:49

Build pipeline

Bot

#

Build 20200926.9 succeeded

Requested by

GitHub

Duration

00:02:54

Build pipeline

Bot

regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: feat/1169/codespaces
regal archBOT
regal archBOT
regal archBOT
#

Description

Currently, SeasonalBot uses the default help command, and it's kinda ugly. I propose to create a better help command, like Python bot does.

Reasoning

It will be more visually appealing and it will be easier to explore commands.

Proposed Implementation

Override the original help command and create a paginator.

Would you like to implement this yourself?

  • [ ] I'd like to implement this feature myself
  • [x] Anyone can implement this feature
ocean rock
#

lol

regal archBOT
ebon magnetBOT
#

Build 20200926.10 succeeded

Requested by

GitHub

Duration

00:02:44

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: feat/backend/1075/remove\-syncer\-confirm
north knotBOT
ebon magnetBOT
#

Build 20200926.11 succeeded

Requested by

GitHub

Duration

00:04:29

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#

Sentry Issue: BOT-85

If a user leaves the guild after sending a message, Message.author will return a discord.User. This is problematic for functions that need to get roles or some other discord.Member-only attributes.

Unfortunately, has_any_role from discord.py doesn't take this into account either. I have not tested, but I believe it may be susceptible to the same error. However, i...

#
[python-discord/bot] New branch created: kwzrd/verification\-amendment
regal archBOT
#

Sentry Issue: BOT-86

The message may be deleted before wait_for_deletion has a chance to add a reaction.

NotFound: 404 Not Found (error code: 10008): Unknown Message
  File "bot/utils/messages.py", line 38, in wait_for_deletion
    await message.add_reaction(emoji)
  File "discord/message.py", line 953, in add_reaction
    await self._state.http.add_reaction(self.channel.id, self....
#
[python-discord/branding] New branch created: menacing\-ducky\-devil
#

Sentry Issue: BOT-8T

Possibly a cache issue. I believe that a channel object isn't really needed. There's likely a direct way to get the message via a method in bot.http. After all, the actual endpoint only needs a channel ID and a message ID.

AttributeError: 'NoneType' object has no attribute 'fetch_message'
  File "discord/client.py", line 312, in _run_event
    await coro(*args, ...
#

Sentry Issue: BOT-7R

Since stats aren't critical, the bot shouldn't fatally crash if statsd is down. In this case, it was down due to a temporary outage.

gaierror: [Errno -2] Name or service not known
(1 additional frame(s) were not displayed)
...
  File "runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "__main__.py", line 28, in 
    bot = Bot(
  File "bot/bot...
regal archBOT
#

How should this be handled? Only use the cache for accepted image formats?

Try to use the cache. If it fails with a 415, then try again without a cache. We can't check for accepted formats since it's based on whether the file itself is valid rather than on its extension. For example, this error was triggered by someone uploading an empty text file with an "mp3" extension. In any case, I imagine it'd be hard to maintain an exhaustive list of supported formats.

ebon magnetBOT
#

Build 20200926.6 succeeded

Requested by

GitHub

Duration

00:00:57

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
#
jb3

Joe doesn't just want you to make an issue. You should describe why you
think this should be a command, and how it should work from a technical
perspective as well. Otherwise people won't be able to decide whether we
should have this feature or how to implement it.

north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20200927.1 succeeded

Requested by

GitHub

Duration

00:04:20

Build pipeline

Site

regal archBOT
regal archBOT
#
[python-discord/branding] branch deleted: menacing\-ducky\-devil
ebon magnetBOT
#

Build 20200927.1 failed

Requested by

GitHub

Duration

00:00:58

Build pipeline

Bot

#

Build 20200927.2 failed

Requested by

GitHub

Duration

00:02:26

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200927.3 succeeded

Requested by

GitHub

Duration

00:03:36

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: dependency/dpy\-1\.4\.1
#

It's 1.4.1 in the lock file, so changing it in the Pipfile isn't really necessary. ~=1.4.0 is basically 1.4.x. It could technically downgrade back to 1.4.0 when re-locking, since the version specifier would allow that. However, I don't see why that would happen besides an edge case where a 1.4.1 has newer dependencies, but some other package's version specifiers for some of those dependencies doesn't encompass 1.4.1's newer versions.

#
[python-discord/bot] branch deleted: dependency/dpy\-1\.4\.1
regal archBOT
ebon magnetBOT
#

Build 20200927.4 succeeded

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

ebon magnetBOT
#

Build 20200927.2 succeeded

Requested by

GitHub

Duration

00:00:57

Build pipeline

Seasonal Bot

#

Build 20200927.1 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200927.3 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200927.4 succeeded

Requested by

GitHub

Duration

00:00:58

Build pipeline

Seasonal Bot

#

Build 20200927.5 succeeded

Requested by

GitHub

Duration

00:00:58

Build pipeline

Seasonal Bot

regal archBOT
#

A few suggestions:

  • Have a new channel called user events which lists all the scheduled events.
  • Whenever an event is scheduled, using the !userevent schedule <event name> <start datetime> [duration=3h] command, the bot sends a message in user events channel with details such as - event name, event host, start datetime and duration.
  • We could use reactions for subscription on the event message which will be sent in the user events channel.
    • 1 reaction to toggle subscriptio...
#

This issue is to outline the changes that I'm working on regarding our infraction commands and the internal changes to how we'll be able to request and manipulate infraction data, hopefully in an update that will be more friendly for future maintenance and adjustments.

Infractions will have a proper Infraction class, with data we receive from the site API being converted into instances representing individual infractions. All standard actions we'd do to view, format and edit infraction dat...

ebon magnetBOT
#

Build 20200927.6 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/async-rediscache] New tag created: v0\.1\.3
#
[python-discord/async-rediscache] New tag created: v0\.1\.4\-rc1
#
[python-discord/async-rediscache] New tag created: v0\.1\.4
ebon magnetBOT
#

Build 20200927.7 succeeded

Requested by

GitHub

Duration

00:00:49

Build pipeline

Seasonal Bot

regal archBOT
#

Heya

When trying to run the example in the readme get this error:

Traceback (most recent call last):
  File "C:\Users\Inveracity\git\_own_projects\redis-async-test\trying-async-redis.py", line 1, in 
    import async_rediscache
  File "C:\Users\Inveracity\AppData\Local\Programs\Python\Python38\lib\site-packages\async_rediscache\__init__.py", line 4, in 
    from .types import *
ModuleNotFoundError: No module named 'async_rediscache.types'

it looks like the types fold...

regal archBOT
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200927.5 succeeded

Requested by

Leon Sandøy

Duration

00:05:24

Build pipeline

Bot

oak estuaryBOT
regal archBOT
regal archBOT
#

I just realised I made a typo in my previous review and you had already removed the square brackets so I basically accidentally told you to put them back in. Completely my fault, sorry for the confusion, but it would be best without them if you wouldn't mind changing it back.

        error_comp = "\n".join(
            f"`{i}` {zod_name}" for i, zod_name in enumerate(self.zodiac_fact.keys(), start=1)
        )
#

Currently, our site only uses the main site database in our postgres. For the Voice Gate project, we will need to be able to retrieve data from another database in the same postgres server - the metricity database.

Django happily supports multiple databases, so let's take the steps necessary to enable access to this database for the site.

What you need to do

  • Add the database to settings.py
  • Figure out how this will a...
#

Note: https://github.com/python-discord/site/issues/397 must be resolved before this issue can be started.

For our Voice Gate project, we need an API that can retrieve certain information stored in the metricity database. Specifically, we need verified_date and total_messages for a specified user, but to make our endpoint more future-proof, we can probably just return all the rows in that table for the specified user.

This will initially be used to improve the !user command,...

#

If we always know when the attachment we are fetching is deleted then I think then just letting the user specify use_cached would be fine. I'm guessing the code for the attachments log is currently the only place where we try and relay deleted attachments, but I'm not 100% sure.

If you think trying to work it out from the file type would be the best solution here then that is fine too, but I'm not too sure how that would be done so somebody else might have to work on it if that is the ca...

ebon magnetBOT
#

Build 20200927.9 succeeded

Requested by

GitHub

Duration

00:00:45

Build pipeline

Seasonal Bot

#

Build 20200927.8 succeeded

Requested by

GitHub

Duration

00:00:50

Build pipeline

Seasonal Bot

regal archBOT
#

For our Voice Gate project, we need a new cog which will interact with the endpoints specified in https://github.com/python-discord/site/issues/398.

This issue cannot be solved until https://github.com/python-discord/site/issues/398 is ready.

Tasks

#

Fixes #1179.

Context

When sending DMs to Discord users, it is necessary to consider that they may not be accepting them. The canonical way to respond to such situations is to either suppress discord.Forbidden (403) or to catch & handle it in some way.

However, we've come to learn 2 things:

  • A 403 response may potentially indicate something worse than just disabled DMs (@jb3)
  • It's possible to receive a 400 status instead of a 403 when DMing a user with closed DMs (#11...
#

To aid our moderators in moderating the voice channels, we'll add two new parameters to the !user command:

  • Total messages sent on the server
  • Time verified, which shows when the user verified that they accepted our rules.

This data will be made available through a new site API, which is specified here: https://github.com/python-discord/site/issues/398

You cannot work on this issue until this site issue has been solved!

ebon magnetBOT
#

Build 20200927.6 succeeded

Requested by

GitHub

Duration

00:02:48

Build pipeline

Bot

regal archBOT
#

For the Voice Gate project, we require a new infraction type called !voiceban.

This should work exactly like !tempban in that it will take a user and a duration using the exact same mechanisms. Do not reinvent any of these mechanisms, just use the existing converters.

Specifications

  • The effect of the command will be to temporarily remove the speaking role for the specified duration.
  • The command should have the alias !vban.
  • This command should not work on a staff member...
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200927.7 succeeded

Requested by

GitHub

Duration

00:04:28

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/seasonalbot] branch deleted: update\-pillow
north knotBOT
ebon magnetBOT
#

Build 20200927.10 succeeded

Requested by

GitHub

Duration

00:02:55

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
ebon magnetBOT
#

Build 20200927.8 succeeded

Requested by

GitHub

Duration

00:02:49

Build pipeline

Bot

regal archBOT
#

Total messages sent on the server

Would this require having to iterate through all message history sent by the user, or is it automatically stored somewhere that I'm not aware of?

If we did decide to do message history such as the example below, wouldn't this count as a bunch of API calls?

messages = await channel.history(limit=None).flatten()

To avoid the possible many message history API calls maybe we should limit how many messages should be iterated through fro...

#
jb3

Decision here was to keep this to staff channels to prevent users trying to pad their stats and repeatedly running user. Discord provides a search tool for regular users which suffices, this is just a moderation tool.
On 27 Sep 2020, 20:15 +0100, Xithrius notifications@github.com, wrote:

I can take this issue once the API endpoints are written.
Also, should we allow users to retrieve data on how many messages they've sent, or should we only allow this in staff channels?

You are re...

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200928.1 succeeded

Requested by

GitHub

Duration

00:00:56

Build pipeline

Seasonal Bot

regal archBOT
north knotBOT
#

Postgres backup completed!

ebon magnetBOT
#

Build 20200928.2 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20200928.4 succeeded

Requested by

GitHub

Duration

00:01:04

Build pipeline

Seasonal Bot

#

Build 20200928.3 succeeded

Requested by

GitHub

Duration

00:01:10

Build pipeline

Seasonal Bot

#

Build 20200928.5 failed

Requested by

GitHub

Duration

00:00:54

Build pipeline

Seasonal Bot

#

Build 20200928.6 failed

Requested by

GitHub

Duration

00:00:57

Build pipeline

Seasonal Bot

regal archBOT
#

Description

Add a command that displays relevant info about emojis, like name, ID, created_at, CDN link...

Reasoning

People could get more information about the server emojis.

Proposed Implementation

Simple: create a new command called emoji_info or something. It will get a second parameter called emoji typehinted with discord.Emoji. Then, proceed to show relevant info about the emote. discord.py itself will raise an error if the emote doesn't exist.

Would ...

regal archBOT
regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200928.1 succeeded

Requested by

GitHub

Duration

00:02:59

Build pipeline

Bot

regal archBOT
#

You're right, it would make sense for it to be a context manager. Although it adds an extra level of indentation if you're still catching other errors coming out of it, but that's a weak excuse.

I'd say let's leave it as a func for now and start thinking of how we can design a more generic suppressor that can eventually replace this and be used elsewhere as well. It may be useful to have the error code configurable, e.g.:

with suppress_error_code(Codes.DISABLED_DM):
  ...
`...
regal archBOT
ebon magnetBOT
#

Build 20200928.7 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20200928.8 succeeded

Requested by

GitHub

Duration

00:01:00

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200928.9 succeeded

Requested by

GitHub

Duration

00:01:07

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20200928.10 succeeded

Requested by

GitHub

Duration

00:00:52

Build pipeline

Seasonal Bot

regal archBOT
#

I think it's high time we had an issue on this.

Currently, our index page looks like this:
image

Which isn't very good, and makes the site pretty difficult to navigate, considering this page is referred to by all breadcrumbs.

The challenge is to make a page which is dynamic according to:

  • The pages which exist.
  • The pages the user has access to.

And of course to make the p...

ebon magnetBOT
#

Build 20200928.1 succeeded

Requested by

GitHub

Duration

00:02:20

Build pipeline

Site

regal archBOT
#

The dewikification project should take care of this. We're moving away from
our current wiki in the near future, so this becomes pretty irrelevant.

On Mon, Sep 28, 2020 at 1:33 PM Boris Muratov notifications@github.com
wrote:

I think it's high time we had an issue on this.

Currently, our index page looks like this:
[image: image]
https://user-images.githubusercontent.com/18114431/94465974-63d6ae00-01c9-11eb-86ea-874a8dcbec64.png

Which isn't very good, and makes the site pr...

ebon magnetBOT
#

Build 20200928.2 succeeded

Requested by

GitHub

Duration

00:02:48

Build pipeline

Bot

regal archBOT
#

Current lemojis are not updated to use the most recent symmetrical + perfectly masked lemoji template currently in the branding repo. This issue would require someone to go to through and update all svgs and pngs to use that new template.

I don't believe it should require an update to the emojis on the server as they are small enough to not notice the slight masking issues and not perfect symmetry. But this update should help when using these assets in other branding projects (i.e. videos...

ebon magnetBOT
#

Build 20200929.1 succeeded

Requested by

GitHub

Duration

00:02:57

Build pipeline

Bot

regal archBOT
regal archBOT
regal archBOT
north knotBOT
#

Postgres backup completed!

ebon magnetBOT
#

Build 20200929.1 succeeded

Requested by

GitHub

Duration

00:00:59

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/bot] branch deleted: kwzrd/verification\-amendment
north knotBOT
ebon magnetBOT
#

Build 20200929.2 succeeded

Requested by

GitHub

Duration

00:05:03

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20200929.2 succeeded

Requested by

GitHub

Duration

00:00:52

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/bot] New branch created: discordpy\-15
ebon magnetBOT
#

Build 20200929.3 succeeded

Requested by

GitHub

Duration

00:00:54

Build pipeline

Seasonal Bot

#

Build 20200929.4 succeeded

Requested by

GitHub

Duration

00:01:02

Build pipeline

Seasonal Bot

regal archBOT
#

This is just a suggestion, however probably a cool feature. You can create a date or zodiac converter that throws on invalid date & zodiac, and just converts the input (date or zodiac string) to the zodiac name. That way you don't need the date sub-command and you can implement it for the partnerzodiac command as well.

actually i need date and month both ,current date subcommand can take str and int for month but if i merge this with this subcommand into zodiac then user will be forced...

regal archBOT
regal archBOT
regal archBOT
#

This is just a suggestion, however probably a cool feature. You can create a date or zodiac converter that throws on invalid date & zodiac, and just converts the input (date or zodiac string) to the zodiac name. That way you don't need the date sub-command and you can implement it for the partnerzodiac command as well.

actually i need date and month both ,current date subcommand can take str and int for month but if i merge this with this subcommand into zodiac then user ...

regal archBOT
#

Description

I have an open source Starboard Bot that I think would be very fun to have in the python discord server. I'm probably willing to create a PR to include the code here, but I don't want to go to that work unless you are actually going to implement it.

Reasoning

Starboards are a lot of fun. I know the purpose of this server is python, but I think that any server can still be fun and be on-topic.

Proposed Implementation

Tbh...

regal archBOT
regal archBOT
#

I'm honestly not sure what is up with that. I was under the impression it worked on all embeds, but apparently it doesn't. The testing I've done suggests that <> works for everything, but [] only seems to fail when applied to message links.

I can take the check for [] out if desired, it was pretty opportunistic (there's space, so why not support it) although it looks like it's either bugged, or just doesn't work atm.

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20200929.3 failed

Requested by

GitHub

Duration

00:00:25

Build pipeline

Bot

ebon magnetBOT
#

Build 20200930.1 succeeded

Requested by

GitHub

Duration

00:01:00

Build pipeline

Seasonal Bot

ebon magnetBOT
#

Build 20200930.2 succeeded

Requested by

GitHub

Duration

00:00:56

Build pipeline

Seasonal Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200930.3 succeeded

Requested by

GitHub

Duration

00:03:00

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#

Thanks for the pull request!

  1. Regarding NSFW subreddits: Subreddits marked as over 18 will have all the posts marked over 18, so it shouldn't be an issue.
  2. Rather than telling the user about the subreddit being out of scope, the error message when no posts are found should just be ... couldn't find any SFW posts from that subreddit.... That way it is clearer and easier to handle in the code.
  3. Error handling should be in get_top_posts rather than fetch_posts, which would basic...
regal archBOT
regal archBOT
#

Description

This command would send an embed with details about a GitHub user's profile, like their follower and following count, number of public repos, blog link (if any), etc. All of them will be hyperlinks leading to the user's profile, their follower page, their following page, and so on.

Reasoning

With the Hacktoberfest starting in less than a day, everyone's going to be working with Github more than ever during the next couple of weeks. Having a command which gives the user ...

regal archBOT
regal archBOT
#

I like idea, except for the full name and location, I don't think that's up to us to decide if the user wants his/her private information to be on this server.

+1 on this. Just because a user's full name and location is publicly available on GitHub (or any platform for that matter), that doesn't mean that we're allowed to publish their information on the server. Either way, I think this is a fairly neat addition.

#

This sounds like a great idea. As Akarys and Pure have already mentioned though, we should not include name and location, out of privacy reasons.

Instead of providing this, it would be nice to have some stats about the things that matter for Hacktoberfest, like PRs in a certain time frame. If you have any other ideas of things to include, I’d love to hear about them as well.

regal archBOT
#

7e92832 Add intents setup to the bot - Senjan21
85e31b8 Remove Custom Status and Status from create_us... - Senjan21 [d2fe88a](https://github.com/python-discord/bot/commit/d2fe88adb94c9dc3d84ff560c5246a023c72d9a8) update member status info in server` command - Senjan21

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200930.4 succeeded

Requested by

GitHub

Duration

00:02:58

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
#

As of October 7th, discord will require bots to use intents.

This PR aims to prepare the bot for that by introducing new version of discord.py (1.5) and intents set up.

Additionally, discord.py has allowed us to disable some events from occurring, thus some events were additionally disabled in this PR.

Due to no need of Presence intent in our bot, server and user commands were updated to reflect those changes.

ebon magnetBOT
#

Build 20200930.1 failed

Requested by

GitHub

Duration

00:03:11

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200930.2 succeeded

Requested by

GitHub

Duration

00:02:37

Build pipeline

Bot

regal archBOT
#

Relevant Issues

Closes #464

Description

I've created a command which gives you a brief overview of a GitHub user's profile, including details like follower/following count, their organizations, public repos, etc.

Reasoning

Fetching data from the Github API and displaying it on discord using embeds

Screenshots

Did you:

ebon magnetBOT
#

Build 20200930.5 failed

Requested by

GitHub

Duration

00:00:44

Build pipeline

Seasonal Bot

regal archBOT
#
jb3
[python-discord/seasonalbot] New branch created: joseph/hacktoberfest\-fixes
#
jb3

Description

This PR fixes a set of issues with the Hacktoberfest commands.

  • It allows the commands to be used in September and November so that the early start and late finish (Hacktoberfest starts and ends where it is October anywhere in the world) are factored in. This is also relevant because Hacktober now uses September as "Pre-temper" where maintainers should get issues ready.
  • Updates the Hacktoberfest command branding to 2020
  • References that you can also plant a tree

##...

ebon magnetBOT
#

Build 20200930.6 succeeded

Requested by

GitHub

Duration

00:00:46

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20200930.7 succeeded

Requested by

GitHub

Duration

00:00:49

Build pipeline

Seasonal Bot

#

Build 20200930.3 failed

Requested by

GitHub

Duration

00:00:23

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: feat/backend/1159/remove\-alias\-ext
ebon magnetBOT
#

Build 20200930.4 succeeded

Requested by

GitHub

Duration

00:02:45

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200930.8 succeeded

Requested by

GitHub

Duration

00:00:57

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/bot] New branch created: bug/backend/1181/wait\-for\-deletion\-404
#
jb3
[python-discord/seasonalbot] branch deleted: joseph/hacktoberfest\-fixes
north knotBOT
ebon magnetBOT
#

Build 20200930.5 succeeded

Requested by

GitHub

Duration

00:03:13

Build pipeline

Bot

#

Build 20200930.9 succeeded

Requested by

Joseph Banks

Duration

00:02:56

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
#
[python-discord/bot] New branch created: bug/mod/1182/deleted\-msg\-null\-char
ebon magnetBOT
#

Build 20200930.6 succeeded

Requested by

GitHub

Duration

00:02:49

Build pipeline

Bot

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: bug/fun/1183/pond\-ignore\-dm
ebon magnetBOT
#

Build 20201001.1 succeeded

Requested by

GitHub

Duration

00:02:40

Build pipeline

Bot

regal archBOT
#
[python-discord/branding] New branch created: hacktober\-2020
#

This PR adds the Hacktoberfest 2020 branding logo and banner for the Discord server.

  • The season directory was renamed from hacktober to hacktoberfest.
  • The halloween banner for @python-discord/seasonal-bot's BrandingManager cog used to be the Hacktoberfest 2019 banner, this was removed so seasonal event changes are not tied to a particular year. We manually update server banner and icon for specific events anyway.
  • The hacktoberfest directory is now grouped by year.
regal archBOT
#
[python-discord/seasonalbot] New branch created: Den4200/hackstats\-fix
#

Description

The .hackstats command logs an error when a given username does not exist on GitHub. This is not an actual issue, so we want to avoid logging this as an error. To prevent this, we should check the user exists before searching for their PRs.

I've also added authentication to the GitHub API requests in this cog and slightly changed the user agent.

Closes #467.

ebon magnetBOT
#

Build 20201001.1 succeeded

Requested by

GitHub

Duration

00:00:54

Build pipeline

Seasonal Bot

regal archBOT
#
[python-discord/bot] New branch created: fuzz\-the\-matches
regal archBOT
ebon magnetBOT
#

Build 20201001.2 succeeded

Requested by

GitHub

Duration

00:00:57

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20201001.3 failed

Requested by

GitHub

Duration

00:00:49

Build pipeline

Seasonal Bot

#

Build 20201001.4 succeeded

Requested by

GitHub

Duration

00:01:00

Build pipeline

Seasonal Bot

regal archBOT
ebon magnetBOT
#

Build 20201001.5 succeeded

Requested by

GitHub

Duration

00:01:15

Build pipeline

Seasonal Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20201001.6 succeeded

Requested by

GitHub

Duration

00:00:52

Build pipeline

Seasonal Bot

#

Build 20201001.2 succeeded

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
#
[python-discord/bot] branch deleted: bug/mod/1182/deleted\-msg\-null\-char
regal archBOT
#
[python-discord/seasonalbot] branch deleted: Den4200/hackstats\-fix
north knotBOT
ebon magnetBOT
#

Build 20201001.7 succeeded

Requested by

GitHub

Duration

00:03:16

Build pipeline

Seasonal Bot

night lilyBOT
#
SeasonalBot

Connected!

regal archBOT
#
[python-discord/bot] New branch created: superstar\-fix