Replace channel name spaces to hyphens
This commit is contained in:
parent
a30ed6c85c
commit
2cf87495fa
2 changed files with 3 additions and 1 deletions
|
|
@ -103,7 +103,8 @@ class SubscriptionHelper:
|
|||
name = values[0].decode()
|
||||
channel_id = values[1].decode()
|
||||
subscriptions[channel_id] = SubscriptionInfo(
|
||||
name=SubscriptionInfo.discord_compatible_name(name), channel_id=channel_id, last_update=0)
|
||||
name=SubscriptionInfo.discord_compatible_name(
|
||||
name.replace(' ', '-')), channel_id=channel_id, last_update=0)
|
||||
return subscriptions
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue