feat(rooms): Add room rent tips.
This commit is contained in:
@@ -523,12 +523,31 @@ class RoomCog(LionCog):
|
||||
self._start(room)
|
||||
|
||||
# Send tips message
|
||||
# TODO: Actual tips.
|
||||
await room.channel.send(
|
||||
"{mention} welcome to your private room! You may use the menu below to configure it.".format(
|
||||
mention=ctx.author.mention
|
||||
)
|
||||
tips = (
|
||||
"Welcome to your very own private room {owner}!\n"
|
||||
"You may use the control panel below to quickly configure your room, including:\n"
|
||||
"- Inviting (and removing) members,\n"
|
||||
"- Depositing LionCoins into the room bank to pay the daily rent, and\n"
|
||||
"- Adding your very own Pomodoro timer to the room.\n\n"
|
||||
"You also have elevated Discord permissions over the room itself!\n"
|
||||
"This includes managing messages, and changing the name, region,"
|
||||
" and bitrate of the channel, or even deleting the room entirely!"
|
||||
" (Beware you will not be refunded in this case.)\n\n"
|
||||
"Finally, you now have access to some new commands:\n"
|
||||
"{status_cmd}: This brings up the room control panel again,"
|
||||
" in case the interface below times out or is deleted/hidden.\n"
|
||||
"{deposit_cmd}: Room members may use this command to easily contribute LionCoins to the room bank.\n"
|
||||
"{invite_cmd} and {kick_cmd}: Quickly invite (or remove) multiple members by mentioning them.\n"
|
||||
"{transfer_cmd}: Transfer the room to another owner, keeping the balance (this is not reversible!)"
|
||||
).format(
|
||||
owner=ctx.author.mention,
|
||||
status_cmd=self.bot.core.mention_cmd('room status'),
|
||||
deposit_cmd=self.bot.core.mention_cmd('room deposit'),
|
||||
invite_cmd=self.bot.core.mention_cmd('room invite'),
|
||||
kick_cmd=self.bot.core.mention_cmd('room kick'),
|
||||
transfer_cmd=self.bot.core.mention_cmd('room transfer'),
|
||||
)
|
||||
await room.channel.send(tips)
|
||||
|
||||
# Send config UI
|
||||
ui = RoomUI(self.bot, room, callerid=ctx.author.id, timeout=None)
|
||||
|
||||
Reference in New Issue
Block a user