mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "77a6aadf5eae402d9b40113c8c668bbc2a966e08" and "34fb04a9d2b349d8fde8f9fa0067db5c43ffb50b" have entirely different histories.
77a6aadf5e
...
34fb04a9d2
1 changed files with 1 additions and 2 deletions
|
@ -51,8 +51,7 @@ def emote_downloader_and_iterator() -> Generator[str, None, None]:
|
|||
|
||||
assert emote_registry_data["version"] == 1
|
||||
|
||||
allow_nsfw = config.getboolean("default", "allow_nsfw", fallback=False)
|
||||
emotes = [emote for emote in emote_registry_data["list"] if emote["safe"] or allow_nsfw]
|
||||
emotes = [emote for emote in emote_registry_data["list"]]
|
||||
|
||||
for emote in emotes:
|
||||
yield "{emote[ref]} [{emote[guild_name]}]".format(emote=emote)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue