• Wo der Pfeffer wächst
  • TypeScript | Rust | Go | Godot

  • Joined on 2020-03-10
kenobi commented on pull request kenobi/jellyfin-discord-bot#54 2023-06-27 21:20:45 +02:00
feat/40-reroll-on-disinterest

Agreement to use handleMessageReactionAdd as a 'reaction pre processor' to hand off reaction emoji to other handling methods and keep the eventHandler itself generic.

kenobi commented on pull request kenobi/jellyfin-discord-bot#54 2023-06-27 20:34:35 +02:00
feat/40-reroll-on-disinterest

Also linting warnings in some files because of unused imports

fixed

kenobi pushed to feat/40-reroll-on-disinterest at kenobi/jellyfin-discord-bot 2023-06-27 20:34:23 +02:00
1a13638ed9 linting
kenobi commented on pull request kenobi/jellyfin-discord-bot#54 2023-06-27 20:24:03 +02:00
feat/40-reroll-on-disinterest

moved

kenobi pushed to feat/40-reroll-on-disinterest at kenobi/jellyfin-discord-bot 2023-06-27 20:23:45 +02:00
c351e27fdd perform vote message check in reaction handler
6d3bea169e return on bot reaction
3f071c8a4e remove duplicate check for none_of_that vote
Compare 3 commits »
kenobi commented on pull request kenobi/jellyfin-discord-bot#54 2023-06-27 20:22:17 +02:00
feat/40-reroll-on-disinterest

added

kenobi commented on pull request kenobi/jellyfin-discord-bot#54 2023-06-27 20:21:54 +02:00
feat/40-reroll-on-disinterest

removed

kenobi pushed to feat/40-reroll-on-disinterest at kenobi/jellyfin-discord-bot 2023-06-27 20:19:46 +02:00
98d1ca73b5 fix newRequestId function
kenobi commented on pull request kenobi/jellyfin-discord-bot#54 2023-06-27 20:19:19 +02:00
feat/40-reroll-on-disinterest

This is a complete and total, boneheaded error :D The intention was to present an more memorizable way to get a new uuid/v4.
Instead this just sets it once, making it useless.
It should

kenobi pushed to feat/40-reroll-on-disinterest at kenobi/jellyfin-discord-bot 2023-06-27 20:08:45 +02:00
ee742018e9 adds comment to fetchAnnouncementChannelMessage
kenobi commented on pull request kenobi/jellyfin-discord-bot#54 2023-06-27 20:08:08 +02:00
feat/40-reroll-on-disinterest

It's complicated. I put in some JSDoc comments:

	/**
		* Fetches all messages from the provided channel collection.
		* This is necessary for announcementChannels, because 'old'
kenobi pushed to feat/40-reroll-on-disinterest at kenobi/jellyfin-discord-bot 2023-06-26 23:51:18 +02:00
8ad651c753 prepare unicode representation of emoji for cleaner handling as pure ASCII
a4a834ad27 refactor reaction handling
e8dcfd8340 add votecontroller to consolidate handling of votes
Compare 3 commits »
kenobi pushed to feat/40-reroll-on-disinterest at kenobi/jellyfin-discord-bot 2023-06-25 22:49:26 +02:00
d9d1d74ef9 WIP: basic handling of adding a reaction to a message and deciding whether to reroll or not
331ff89060 fetch all message from announcement channel on start
f6476c609b fetch members of roleId from guild
6220268b14 move emotes and reaction constants
b6034d4fb7 use message identifiers
Compare 6 commits »
kenobi commented on issue kenobi/jellyfin-discord-bot#20 2023-06-25 18:18:41 +02:00
MessageReactionAdd und MessageReactionRemove für Announcement Rolle verwenden

https://discordjs.guide/popular-topics/collectors.html#await-reactions

DiscordJS bietet ein Collector Konstrukt um sich an bestimmte Nachrichten zu hängen und auf Updates zu warten

kenobi created pull request kenobi/jellyfin-discord-bot#54 2023-06-25 01:57:59 +02:00
feat/40-reroll-on-disinterest
kenobi pushed to feat/40-reroll-on-disinterest at kenobi/jellyfin-discord-bot 2023-06-25 01:57:44 +02:00
b8a32aab40 stub for reactionhandling
e3e755011d add messageIdentifier helper
5a6c66cb3e export newRequestId from logger
Compare 3 commits »
kenobi created branch feat/40-reroll-on-disinterest in kenobi/jellyfin-discord-bot 2023-06-25 01:57:44 +02:00
kenobi deleted branch feat/#42_announce_manual_watchparty from kenobi/jellyfin-discord-bot 2023-06-25 00:37:21 +02:00
kenobi deleted branch feat/#43_append_event_invite from kenobi/jellyfin-discord-bot 2023-06-25 00:37:04 +02:00
kenobi deleted branch feat/#39_none_of_that from kenobi/jellyfin-discord-bot 2023-06-25 00:36:59 +02:00