I locked an emoji for the role I have and now I can't unlock it because it's hidden!
No problem, you can pass the emoji name to unlock it, e!unlock emoji_name
The bot can't lock
โข Default Emojis
| const fileUrl = "https://www.unive.it/data/ajax/Didattica/generaics?cache=-1&cds=CT3&anno=2&curriculum=TSI"; | |
| async function getCalendar() { | |
| const res = await fetch(fileUrl); | |
| const data = await res.text(); | |
| let new_events = "" | |
| let events = [] | |
| let current_event = "" |
| with open('CT3_1anno.ics', 'r') as f: | |
| data = f.read() | |
| new_events = "" | |
| events = [] | |
| current_event = "" | |
| for line in data.splitlines(): | |
| if line.startswith("BEGIN:VEVENT"): | |
| if current_event.startswith("BEGIN:VEVENT"): |
| notion.so##div[style="display: flex; align-items: center; justify-content: center; white-space: nowrap; padding: 0px 12px; font-size: 14px; line-height: 1.2; cursor: default; min-height: 44px; color: rgb(35, 131, 226); fill: rgb(35, 131, 226); background: rgba(35, 131, 226, 0.07);"] |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| "strconv" | |
| "time" | |
| ) |
| # make sure amixer is installed (sudo apt install alsa-utils) | |
| import os | |
| while True: | |
| value = input("set volume to? ") | |
| if not value.isdigit(): | |
| print("invalid volume") | |
| else: | |
| os.system(f"sudo amixer cset numid=1 {value}%") | |
| os.system("clear") |
| from discord.ext import commands | |
| class InvalidOptionType(Exception): | |
| pass | |
| class Command: | |
| def __init__(self, bot: commands.Bot, name: str, description: str, guild_id: int=None): | |
| self.bot = bot | |
| self.name = name | |
| self.description = description |
| emojis = ['๐', '๐', 'โบ', '๐', '๐', '๐', '๐', '๐ณ', '๐', '๐', '๐', '๐', '๐', '๐', '๐', '๐', '๐', '๐', '๐ด', '๐', '๐ฆ', '๐ง', '๐ฎ', '๐ฌ', '๐', '๐ฏ', '๐', '๐', '๐ ', '๐', '๐ฅ', '๐ฉ', '๐', '๐', '๐', '๐จ', '๐ฐ', '๐ฃ', '๐ข', '๐ญ', '๐', '๐ฒ', '๐ฑ', '๐ซ', '๐ ', '๐ก', '๐ค', '๐ช', '๐', '๐ท', '๐', '๐ต', '๐ฟ', '๐', '๐', '๐ถ', '๐', '๐ฝ', '๐', '๐', '๐', 'โค', '๐', '๐', '๐', '๐', '๐', '๐', '๐', '๐', 'โจ', 'โญ', '๐', '๐ซ', '๐ฅ', '๐ฅ', '๐ข', 'โ', 'โ', 'โ', 'โ', '๐ค', '๐จ', '๐ฆ', '๐ถ', '๐ต', '๐ฅ', '๐ฉ', '๐ฉ', '๐ฉ', '๐', '+', '๐', '๐', '-', '๐', '๐', '๐', '๐', 'โ', 'โ', '๐', 'โ', 'โ', '๐', 'โ', '๐', '๐', '๐', '๐', '๐', '๐', '๐', '๐ช', '๐ค', '๐', '๐ถ', '๐', '๐', '๐ซ', '๐ช', '๐ฌ', '๐ญ', '๐', '๐ฏ', '๐', 'โ', '๐ ', '๐', '๐', '๐ฐ', '๐', '๐', '๐', '๐', '๐', '๐ ', '๐ฆ', '๐ง', '๐ฉ', '๐จ', '๐ถ', '๐ต', '๐ด', '๐ฒ', '๐ณ', 'โ', '๐ท', '๐ฎ', '๐ผ', '๐ธ', '๐บ', '๐ธ', '๐ป', '๐ฝ', '๐ผ', '๐', '๐ฟ', '๐น', '๐พ', '๐น', '๐บ', '๐', '๐', '๐', '๐', 'โ', '๐', '๐พ', '๐', '๐', '๐ง', '๐', '๐', '๐', '๐ ', '๐', '๐ค', '๐ฅ', '๐ฌ', '๐ญ', 'โ', 'โ', 'โ', 'โ', 'โ', 'โก', '๐', '๐', '๐', '๐ฑ', '๐ถ', '๐ญ', '๐น', '๐ฐ', '๐บ', '๐ธ', '๐ฏ', '๐จ', '๐ป', '๐ท', '๐ฝ', '๐ฎ', |
| import time, os | |
| if os.name == "nt": | |
| clear = "cls" | |
| else: | |
| clear = "clear" | |
| def write(text): | |
| result = "" |
| @bot.command() | |
| async def help(ctx, command = None): | |
| "Get a list of commands" | |
| emb = discord.Embed(colour = discord.Colour.blurple(), timestamp = ctx.message.created_at) | |
| emb.set_author(name = ctx.author, icon_url = str(ctx.author.avatar_url_as(static_format = "png"))) | |
| if command: | |
| command = bot.get_command(command) |