This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.alex1304.ultimategdbot.core; | |
import java.time.Duration; | |
import org.reactivestreams.Publisher; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import discord4j.rest.request.GlobalRateLimiter; | |
import reactor.core.publisher.Flux; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.alex1304.ultimategdbot.core; | |
import java.io.Serializable; | |
import java.util.function.Function; | |
import com.github.benmanes.caffeine.cache.Caffeine; | |
import discord4j.core.shard.ShardAwareStore; | |
import discord4j.core.shard.ShardingStoreRegistry; | |
import discord4j.store.api.Store; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from http.client import HTTPConnection | |
from urllib.parse import urlencode, unquote | |
import os | |
from os.path import sep | |
import eyed3 | |
from argparse import ArgumentParser | |
def parse_args(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.alex1304.ultimategdbot.core; | |
import static reactor.function.TupleUtils.consumer; | |
import java.time.Duration; | |
import com.github.alex1304.ultimategdbot.api.command.Context; | |
import com.github.alex1304.ultimategdbot.api.command.PermissionLevel; | |
import com.github.alex1304.ultimategdbot.api.command.annotated.CommandAction; | |
import com.github.alex1304.ultimategdbot.api.command.annotated.CommandDescriptor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This file is part of Discord4J. | |
* | |
* Discord4J is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* Discord4J is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gac() { | |
git add . && git commit -m "$1" | |
} | |
gacp() { | |
git add . && git commit -m "$1" && git push | |
} | |
gam() { | |
git add . && git commit --no-edit --amend |