Skip to content

Commit

Permalink
[Discord] Change Bot.fake_location attribute to property
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Jul 31, 2023
1 parent 825660d commit 21ce18d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Discord/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def __init__(self):
self.changelog = "https://discord.gg/a2rbZPu"
self.console_line_limit = 167
self.console_message_prefix = "Discord Harmonbot: "
self.fake_location = "Fort Yukon, Alaska"
self.last_resort_notices_channel_id = 955950052747137104
self.library_path = "D:/Music/"
self.simple_user_agent = "Harmonbot (Discord Bot)"
Expand Down Expand Up @@ -341,6 +340,10 @@ def config(self):
def fake_ip(self):
return "0.0.0.0"

@property
def fake_location(self):
return "Fort Yukon, Alaska"

@property
def stream_url(self):
return self.config["Discord"]["stream_url"]
Expand Down

0 comments on commit 21ce18d

Please sign in to comment.