xditya commited on
Commit
626dc36
·
1 Parent(s): 23a95a6

some more fixes

Browse files
Files changed (1) hide show
  1. assistant/start.py +11 -2
assistant/start.py CHANGED
@@ -106,9 +106,18 @@ async def setting(event):
106
  await event.edit(
107
  "Choose from the below options -",
108
  buttons=[
109
- [custom.Button.inline("Alive Customisation", data="alvcstm")],
110
- [custom.Button.inline("PM Customisation", data="pmcstm")],
111
  [custom.Button.inline("API Keys", data="apiset")],
112
  [custom.Button.inline("Other Vars.", data="otvars")],
113
  ],
114
  )
 
 
 
 
 
 
 
 
 
 
 
106
  await event.edit(
107
  "Choose from the below options -",
108
  buttons=[
109
+ [custom.Button.inline("Customisations", data="allcstms")],
 
110
  [custom.Button.inline("API Keys", data="apiset")],
111
  [custom.Button.inline("Other Vars.", data="otvars")],
112
  ],
113
  )
114
+
115
+ @callback("allcstms")
116
+ @owner
117
+ async def all(event):
118
+ await event.edit(
119
+ "All Customisable Stuff.",
120
+ buttons=[
121
+ [custom.Button.inline("Alive", data="alvcstm")],
122
+ [custom.Button.inline("PM Permit", data="pmcstm")]
123
+ ])