Skip to content

Instantly share code, notes, and snippets.

@ihaveamac
Created April 2, 2017 00:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihaveamac/2225fdf506f001eaae37f2b8c2157013 to your computer and use it in GitHub Desktop.
Save ihaveamac/2225fdf506f001eaae37f2b8c2157013 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
import asyncio
import discord
import time
text = open("welcome-update.md").read()
client = discord.Client()
@client.event
async def on_ready():
server = discord.utils.get(client.servers, id='196618637950451712')
channel = discord.utils.get(server.channels, id='196618637950451712')
for idx, msg in enumerate(text.split('\n\n\n')):
print("posting line {}".format(idx))
await asyncio.sleep(.5)
await client.send_message(channel, msg)
await client.close()
client.run("token", bot=False)
<:nintendo_homebrew:296097062242615307> **__Welcome to Nintendo Homebrew!__**
We're the place to come to for hacking & homebrew on Nintendo's video game consoles, like the Nintendo 3DS and Wii U. Get assistance with setting up or using homebrew, find news on the latest developments, discuss about what you're making, and more.
Be sure you read the following information before participating, especially rules. Not reading them is not an excuse for breaking them!
📑 ___Rules___
**1**. Be nice to each other. It's fine to disagree, it's not fine to insult or attack other people.
**2**. This is an English-speaking server, so please speak English to keep communication simple.
**3**. Keep 3DS and Wii U support questions to the assistance channels.
• Don't ask how to bypass network restrictions in place by Nintendo or game developers. This includes bypassing console bans.
**4**. Don't ask to ask, just ask. Just post your question instead of asking if you can and you will get an answer faster.
• Add details when asking. "x doesn't work" will slow down help.
**5**. Don't spam. Don't post your question twice unless you fully believe you were not intentionally ignored.
• For excessively long text, use a service like <https://hastebin.com>.
**6**. Remain mindful and polite when asking or answering questions in the assistance channels. Derailing support or otherwise causing issues will get your access removed.
**7**. Don't brigade, raid, or otherwise attack other people or communities. Don't discuss participation in these attacks. This may warrant an immediate permanent ban.
**8**. One account per user. Bots/fully automated clients run by users are not allowed. Alternate accounts will have access removed. If you are switching accounts, please remove your original from the server.
**9**. User-side scripts are fine if they are only accessible by you and are not annoying. Community-accessible triggers on a user account are a violation of the Discord Terms of Service.
**10**. Not-safe-for-work content (including gore and other "shock" content) is prohibited.
**11**. The Piracy rule: Don't...
• ask how to pirate games
• share full game data
• mention piracy sites and tools by name
• share game tickets and titlekeys
• ask to share direct messages to help with piracy
• discuss piracy in the assistance channels
• in general commit copyright violations
**12**. Don't post other people's personal information, including social media accounts with this. This may warrant an immediate ban.
**13**. Ask a staff member before posting invite links to things like servers on Discord, Skype groups, etc.
**14**. Off-topic content goes to <#277529766972620800>. Keep low-quality content like memes out. There is a channel for that, use ".togglechannel elsewhere" to get access.
**15**. Voice and music commands and other random/contextless command usage belong in <#239564960781434880> and <#261581918653513729> respectively.
**16**. Trying to evade, look for loopholes, or stay borderline within the rules will be treated as breaking them.
🔨 ___Staff Action___
Breaking these rules will result in appropriate measures taken by the staff.
If staff say something is final, it is final and is not up for debate. Staff instruction is to be followed.
🚫 ___Restricted Topics___
Certain topics have been restricted from discussion, either partially or fully, because they generally create heated arguments rather than actual civil discussion. Usually staff will watch closely or have to step in when these are brought up or the discussion is turning into an argument. Any discussions involving these should always occur in <#277529766972620800> or <#262082088180645889>.
• Gender: Most topics related to gender in general tend to cause disagreements on all sides. Anyone wishing to participate in discussions about gender is expected to try to remain open minded and keep disrespectful / inappropriate comments to themselves.
🛠 ___Staff List___
Please only send DMs if asked. General questions should go to one of the assistance channels.
<@78465448093417472>
<@!181766736138207232>
<@168985125688836097>
<@179312738101755916>
<@138887359331696641>
<@109208999362048000>
<@178867305990586368>
<@186483213701611520>
<@178642114698149888>
<@135624742785908736>
🤝 ___Helper List___
Please only send DMs if asked. General questions should go to one of the assistance channels.
<@175108488303869952>
<@167592699149418496>
<@180397592524357632>
<@194664164130684929>
<@159824269411352576>
<@219388023261888523>
<@143796550559072267>
<@194416966822264832>
🏷 ___Username/Nickname and Avatar policy___
Usernames are to be kept primarily alphanumeric, to keep them easy to tag and read. Excessively long usernames are not acceptable. Usernames and avatars that are annoying, offensive, inappropriate ("nsfw"), and/or disruptive to others are also not allowed.
Usernames that go against these rules will be assigned a nickname. Users can request a specific nickname that follows these.
Users with avatars against these rules will be asked to change them or be kicked from the server.
💻 ___Useful commands___
A few commands may be useful for you to get information faster. Random command usage should be in <#261581918653513729>.
• `.err <errcode>` - Show information based on Nintendo error codes.
• ex: `.err 022-2501`
• ex: `.err 199-9999`
• ex: `.err 0xD960D02B` (0x not required)
• Nintendo Switch error codes are not yet implemented
• `.help Assistance` - List assistance-related commands. These can have useful information.
• `.help` - List all the other available commands.
📨 ___Invitation link___
This is a permanent invitation link to the server!
https://discord.gg/C29hYvh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment