d4n3436 / Fergun

A utility Discord bot written in C# using Discord.Net
MIT License
30 stars 9 forks source link

Bug #3

Closed VizEll12 closed 3 years ago

VizEll12 commented 3 years ago

Hello. I downloaded your bot, didn't change anything, just uploaded the bot token and AI Dungeon. The mistake is that, continuing the story, the clues appear not one by one, but all at once, overlapping each other.

21

d4n3436 commented 3 years ago

Hmm that shouldn't happen. I think I the bug occurs here, when the method obtains the localized tips and splits them using Environment.NewLine. What OS are you using to self-host the bot?

VizEll12 commented 3 years ago

Tried using both Windows 10 Pro and Ubuntu 18.04 LTS

d4n3436 commented 3 years ago

Well that's weird because I'm using exactly those two systems to develop Fergun and I can't reproduce the bug, but it should be easy to fix by changing Environment.NewLine to a consistent newline character that works on any OS.

d4n3436 commented 3 years ago

@VizEll12 The bug should be fixed with 4120668.