UnifierHQ / unifier

A fast and versatile Discord bot connecting servers and platforms
https://unifier-wiki.pixels.onl/
GNU Affero General Public License v3.0
4 stars 5 forks source link

Room emojis can't be unassigned #139

Closed greeeen-dev closed 3 weeks ago

greeeen-dev commented 4 weeks ago

Checklist

Describe the bug

Rooms cannot have their emojis unassigned. Once the room is assigned an emoji, it cannot be removed without editing data.json.

To Reproduce

  1. Assign an emoji
  2. Try to unassign it using u!roomemoji <room>
  3. Error is thrown

Expected behavior

u!roomemoji <room> should unassign the emoji from the room as no emoji is provided.

Screenshots

Platform

Discord

Version

v2.0.0

Extensions

Modified instance

Modified instance repository

Additional context

Low priority, will fix as part of v2.0.1.