Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit 315991b

Browse files
committed
added rat icon and removed leaderboard
1 parent f894d98 commit 315991b

1 file changed

Lines changed: 8 additions & 44 deletions

File tree

cogs/frong.py

Lines changed: 8 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,49 @@
11
import nextcord
22
from nextcord.ext import commands
3-
import os
4-
import csv
53

6-
# get path name for csv file
7-
file_path = os.path.join(os.getcwd(), "")
8-
9-
class Sourcecode(commands.Cog):
4+
class Frongcmd(commands.Cog):
105
def __init__(self,bot):
116
self.bot=bot
127

138
@commands.Cog.listener()
149
async def on_ready(self):
1510
print(f"frong - Loaded")
1611

17-
@nextcord.slash_command(name="leaderboard", description="Frong leaderboard", guild_ids=[414625175217242113])
18-
async def leaderboard(self, interaction: nextcord.Interaction):
19-
csv_dict = {}
20-
data = ""
21-
total = 0
22-
with open(file_path + "data.csv", 'r') as file:
23-
reader = csv.DictReader(file)
24-
25-
# turn csv into dictionary
26-
for row in reader:
27-
key = row.pop('Name') # Replace 'Key_Column_Name' with the actual column name for the key
28-
csv_dict[key] = row
29-
30-
# sort the dictionary
31-
sorted_dict = dict(sorted(csv_dict.items(), key=lambda x: int(x[1]['Value']), reverse=True))
32-
33-
# get values from dictionary
34-
for key, value in sorted_dict.items():
35-
content = "**" + key + "**: "
36-
data += content
37-
for key2, value2 in dict(value).items():
38-
content2 = value2 + "\n"
39-
data += content2
40-
total += int(value2)
41-
42-
# send embed
43-
embed = nextcord.Embed(title="**LEADERBOARD**", color=0x4287f5)
44-
embed.add_field(name="__FRONGS BY USER__", value=data,inline=False)
45-
embed.add_field(name="__TOTAL FRONGS__", value=total,inline=False)
46-
await interaction.response.send_message(embed=embed, ephemeral=False)
47-
4812
@nextcord.slash_command(name="frongs", description="List all Frong definitions")
4913
async def frongs(self, interaction: nextcord.Interaction):
50-
embed = nextcord.Embed(title="**Frongs**", color=0x4287f5)
14+
embed = nextcord.Embed(title=":rat: **Frongs**", color=0x4287f5)
5115
embed.add_field(name="**Definitions**", value="/frong \n /frang \n /frongincidence \n /frongonianunits \n /unfuckwithable",inline=False)
5216
await interaction.response.send_message(embed=embed, ephemeral=False)
5317

5418
@nextcord.slash_command(name="frong", description="Original Frong definition")
5519
async def frong(self, interaction: nextcord.Interaction):
56-
embed = nextcord.Embed(title="**Frong**", color=0x4287f5)
20+
embed = nextcord.Embed(title=":rat: **Frong**", color=0x4287f5)
5721
embed.add_field(name="**Definition:**", value="Frong (for real, on God) is an expression used in the Cosmodium Cyber Security server for humorous means. It is most commonly utilised in a fashion of agreement about a given subject. Frong (for real, on God) is a derivative of “Fr” (for real) and “ong” (on God). It is not recognized as a legitimate word in the 2022 Oxford English Dictionary but is utilized nonetheless as a cultural reference of mutual agreement. This expression was first coined by Soulsender and CØ$MØ where the two individuals were saying “Fr Fr ong” (for real, for real, on God) as a method of agreement, where after the two expressions were merged to form the new commonly used phrase. Since the debut, the phrase has found use in a server emoji of a small mammal dubbed a “gerbil” with the text “frong” (for real, on God) displayed on the bottom of the image in 2013 type-2 impact font.",inline=False)
5822
await interaction.response.send_message(embed=embed, ephemeral=False)
5923

6024
@nextcord.slash_command(name="frongincidence", description="A suspicious conincidence")
6125
async def frongincidence(self, interaction: nextcord.Interaction):
62-
embed = nextcord.Embed(title="**Frongincidence**", color=0x4287f5)
26+
embed = nextcord.Embed(title=":rat: **Frongincidence**", color=0x4287f5)
6327
embed.add_field(name="**Definition:**", value="Frongincidence (for real, on God, coincidence) is most commonly utilized in a fashion of suspicious coincidence (dubbed \"sus\") about a given subject. Frongincidence (for real, on God, coincidence) is a derivative of “Fr” (for real) and “ong” (on God), as well as the word \"coincidence.\" It is not recognized as a legitimate word in the 2022 Oxford English Dictionary but is utilized nonetheless as a cultural reference of suscoincidence. This expression was first coined by CØ$MØ where he was referencing an aspect of the media platform discord, and how it pertained to the word \"frong\" (for real, on God) as is the emoji letters were in a sequential fashion, where after the two expressions were merged to form the new commonly used phrase; Frongincidence (for real, on God, coincidence). Since its debut, the phrase has found use in a server emoji of a small mammal dubbed a “gerbil” with the text “frong” (for real, on God), with the additional context of something being of suspicious coincidence (\"sus\").",inline=False)
6428
await interaction.response.send_message(embed=embed, ephemeral=False)
6529

6630
@nextcord.slash_command(name="frang", description="FrongLang")
6731
async def frang(self, interaction: nextcord.Interaction):
68-
embed = nextcord.Embed(title="**Frang**", color=0x4287f5)
32+
embed = nextcord.Embed(title=":rat: **Frang**", color=0x4287f5)
6933
embed.add_field(name="**Definition:**", value="Frang (for real, on God, language) otherwise known as \"Fronlang\" is a programming language used to develop programs like FrongOS (for real, on God, operating system) as well as Google and PowerFrong. It is Comterpreted language, meaning that the user must compile it and then run the compiled binary through an interpreter. The langauge is not object oriented, because fuck that. Frang is well recognized as a programming language in the computer science community and has even received an oscar for how well developed it is. The original developers, CØ$MØ and Haze, chose the name \"Frang\" or \"Fronglang\" due to its associaton of the word \"frong\" (for real, on God).",inline=False)
7034
await interaction.response.send_message(embed=embed, ephemeral=False)
7135

7236
@nextcord.slash_command(name="frongonianunits", description="The best unit of measurement")
7337
async def frongonianunits(self, interaction: nextcord.Interaction):
74-
embed = nextcord.Embed(title="**FrongonianUnits**", color=0x4287f5)
38+
embed = nextcord.Embed(title=":rat: **FrongonianUnits**", color=0x4287f5)
7539
embed.add_field(name="**Definition:**", value="Think about it like this, you have 182 watermelons and each cost 6 quid (Or 7 euros for my European folks. And 7 dollars for freedom lovers). in order to convert into frongonian units, you must take the squared derivative of each seed and calculate the megahertz it generates after a 15 ton, 31-year-old mother, has sat on it. from there you can calculate the amount of politeness each person interacts with the mother. the nicer, the more Canadian. convert it back to micro coulombs squared and you will get it in light year",inline=False)
7640
await interaction.response.send_message(embed=embed, ephemeral=False)
7741

7842
@nextcord.slash_command(name="unfuckwithable", description="An old term from the early-late 1900s")
7943
async def unfuckwithable(self, interaction: nextcord.Interaction):
80-
embed = nextcord.Embed(title="**UnFuckWithable**", color=0x4287f5)
44+
embed = nextcord.Embed(title=":rat: **UnFuckWithable**", color=0x4287f5)
8145
embed.add_field(name="**Definition:**", value="Unfuckwithable, an old term dating back to the early-late 1900s (roughly 2 years after the CosmodiumCS debut). the term is used to describe any noun (person, place, creature, thing, or idea) that is incapable of being \"fucked with\". this term represents an older technological way of representing words via concatenative abbreviation, where the words are laid back-to-back to make a new word (of course inspired by gay seckz). this is dissimilar to words like \"frong\" (\"for real\", \"on God\") which are composed of two separate acronyms.",inline=False)
8246
await interaction.response.send_message(embed=embed, ephemeral=False)
8347

8448
def setup(bot):
85-
bot.add_cog(Sourcecode(bot))
49+
bot.add_cog(Frongcmd(bot))

0 commit comments

Comments
 (0)