WIP: feat/20-reactions-for-roles #59

Draft
kenobi wants to merge 16 commits from feat/20-reactions-for-roles into master
kenobi commented 2023-11-20 00:18:01 +01:00 (Migrated from gitea.brudi.xyz)

solves #20

  • Änderungen einmalig beim Startup prüfen
  • Scheduled Task entfernen
  • MessageReactionAdd Event implementieren für Rolle hinzufügen
  • MessageReactionRemove implementieren für Rolle entfernen
solves #20 - [ ] Änderungen einmalig beim Startup prüfen - [ ] Scheduled Task entfernen - [x] MessageReactionAdd Event implementieren für Rolle hinzufügen - [x] MessageReactionRemove implementieren für Rolle entfernen
magnetotail (Migrated from gitea.brudi.xyz) reviewed 2023-11-20 00:19:08 +01:00
magnetotail (Migrated from gitea.brudi.xyz) reviewed 2023-11-24 15:47:36 +01:00
@ -0,0 +41,4 @@
.catch(error => {
logger.error(`Could not find announcement_role with id ${config.bot.announcement_role}. Error: ${error}`, { requestId, guildId: guild.id })
throw error
})
magnetotail (Migrated from gitea.brudi.xyz) commented 2023-11-24 15:47:36 +01:00

method called reactions but parameter is singular

method called reactions but parameter is singular
magnetotail (Migrated from gitea.brudi.xyz) commented 2023-11-25 19:51:46 +01:00
1f372b0aacd94d6eb5cfbe2e72f61dfdf77c1a31
magnetotail (Migrated from gitea.brudi.xyz) reviewed 2023-11-24 15:48:15 +01:00
@ -0,0 +47,4 @@
}
public async assignAnnouncementRolesFromReaction(guild: Guild, reaction: MessageReaction, requestId: string) {
const guildId = guild.id
magnetotail (Migrated from gitea.brudi.xyz) commented 2023-11-24 15:48:15 +01:00

add error to previous line to be consistent with rest of class. Also maybe put checking to getAnnouncementRoleForGuild, so calling methods can rely on the role to be there?

add error to previous line to be consistent with rest of class. Also maybe put checking to getAnnouncementRoleForGuild, so calling methods can rely on the role to be there?
magnetotail (Migrated from gitea.brudi.xyz) commented 2023-11-25 20:05:49 +01:00
a50ac1716f5eccf38d88763742d26e573b460dca
magnetotail (Migrated from gitea.brudi.xyz) reviewed 2023-11-24 15:53:42 +01:00
magnetotail (Migrated from gitea.brudi.xyz) commented 2023-11-24 15:53:42 +01:00

ew, a THIRD "not there" type??? wth

ew, a THIRD "not there" type??? wth
magnetotail (Migrated from gitea.brudi.xyz) commented 2023-11-25 20:36:23 +01:00

a60fc2db7e
No longer necessary after refactoring of announcementrole fetching
a50ac1716f

a60fc2db7e8736a0899d07f0bc797ba84da1e861 No longer necessary after refactoring of announcementrole fetching a50ac1716f5eccf38d88763742d26e573b460dca
magnetotail (Migrated from gitea.brudi.xyz) reviewed 2023-11-24 15:55:49 +01:00
magnetotail (Migrated from gitea.brudi.xyz) left a comment

Nice work only minor comments from me so far. Great to have a controller for roles now

Nice work only minor comments from me so far. Great to have a controller for roles now
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/20-reactions-for-roles:feat/20-reactions-for-roles
git switch feat/20-reactions-for-roles

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff feat/20-reactions-for-roles
git switch feat/20-reactions-for-roles
git rebase master
git switch master
git merge --ff-only feat/20-reactions-for-roles
git switch feat/20-reactions-for-roles
git rebase master
git switch master
git merge --no-ff feat/20-reactions-for-roles
git switch master
git merge --squash feat/20-reactions-for-roles
git switch master
git merge --ff-only feat/20-reactions-for-roles
git switch master
git merge feat/20-reactions-for-roles
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hackser/jellyfin-discord-bot!59
No description provided.